home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / INFO / HELP201.ZIP / HELP.DAT < prev    next >
Text File  |  1987-10-03  |  82KB  |  3,707 lines

  1. ANSI.SYS
  2. COMMAND NAME:^  ANSI.SYS
  3.  
  4. DESCRIPTION:^   ANSI.SYS is a device
  5. driver that allows use of the extended
  6. screen and keyboard features.
  7.  
  8. COMMAND TYPE:^  External
  9.  
  10. VERSION:^   2.0 and up
  11.  
  12. USE:^  DEVICE = ANSI.SYS
  13.  
  14. EXAMPLE:  DEVICE = ANSI.SYS^
  15.  
  16. after this command is placed in the
  17. CONFIG.SYS file, the extended screen and
  18. keyboard drivers will be loaded.
  19.  
  20. NOTE:^  The ANSI.SYS device driver
  21. must be placed in the CONFIG.SYS file
  22. and be used in conjunction with the
  23. DEVICE = DRIVER command. 
  24.  
  25. APPEND
  26. COMMAND NAME:^  APPEND
  27.  
  28. DESCRIPTION:^   Locates files outside
  29. of current directory that have
  30. extensions other than .COM, .EXE, and
  31. .BAT.
  32.  
  33. COMMAND TYPE:^  Internal and External
  34.  
  35. VERSION:^   3.3 and up
  36.  
  37. USE:^ The first time APPEND is loaded:
  38.  
  39.      APPEND d:path[;[d:]path ...]
  40.  
  41.              or
  42.  
  43.      APPEND [/X][/E]
  44.  
  45.      After APPEND has been loaded:
  46.  
  47.      APPEND d:path[;[d:]path ...]
  48.  
  49.              or
  50.  
  51.      APPEND [;]
  52.  
  53. d:path^ specifies the path to search. 
  54. Paths cannot be specified the first time
  55. the APPEND command is loaded if either
  56. /X or /E are also specified.
  57.  
  58. ;^ to separate the APPEND paths or to
  59. request the list to be reset to null if
  60. the semi-colon is the only parameter.
  61.  
  62. /X^ to process SEARCH FIRST, FIND
  63. FIRST, and EXEC functions.  Commands
  64. such as COMP and DIR use the SEARCH
  65. FIRST functions to search for files. 
  66. Commands such as BACKUP, RESTORE, and
  67. TREE use the FIND FIRST function to
  68. locate files.  DOS uses the EXEC
  69. function any time a command is entered.
  70.  
  71. NOTE:^  If APPEND has been loaded with
  72. /X, before using BACKUP or RESTORE,
  73. APPEND must be issued using null (;).
  74.  
  75. /E^ is used to keep the APPEND paths
  76. in the DOS environment, similar to the
  77. PATH command.  APPEND searches the
  78. environment on each call to find the
  79. path.
  80.  
  81. If the /E is not specified, the path
  82. string is held within the APPEND
  83. command.  The paths are not stored in
  84. the environment and can only be viewed
  85. or changed by using the APPEND command.
  86.  
  87. /X and /E can only be specified on the
  88. first invocation of the APPEND command.
  89.  
  90. NOTE:^  Some applications read a file
  91. from an APPENDed directory and then
  92. write the file back out to the disk. 
  93. The application writes the file in the
  94. current directory, leaving the original
  95. copy unchanged.
  96.  
  97.           WHY USE APPEND ??^
  98. The APPEND command allows you to store
  99. applications only once on your fixed
  100. disk.  Those applications can be used
  101. without changing to the directory that
  102. contains them.
  103.  
  104. For example, correspondence can be
  105. sorted into categories, by subject or
  106. content.  Rather than duplicate the
  107. editor, word processor, and spelling aid
  108. programs in each letter category or
  109. directory, you can install those
  110. programs and their associated operating
  111. files, in one directory.
  112.  
  113. EXAMPLE:^  Assume directories have
  114. been created for each letter.  Before
  115. you load any word processing, editing or
  116. spelling aid application, use one of the
  117. following sets of commands:
  118. 
  119. PATH C:\APPS
  120. APPEND /E
  121. APPEND C:\APPS
  122.  
  123.   or
  124.  
  125. APPEND /E /X
  126. APPEND C:\APPS
  127. ^
  128. Now you can use the application that was
  129. installed in C:\APPS as if it were in
  130. your current directory.  Since the files
  131. that the application needs to operate
  132. (that do not have an extension of .COM,
  133. .EXE, or .BAT) are in C:\APPS, the
  134. application will find them with the help
  135. of APPEND.  To edit a file in C:\TEXT,
  136. you would change to that directory that
  137. the file is in and execute your
  138. application.  When you save the file,
  139. the new version will be written to the
  140. current directory.
  141.  
  142.  
  143. ASSIGN
  144. COMMAND NAME:^  ASSIGN
  145.  
  146. DESCRIPTION:^   Causes a request for
  147. one drive to be routed to another drive.
  148.  
  149. COMMAND TYPE:^  External
  150.  
  151. VERSION:^   2.0 and up
  152.  
  153. USE:^  ASSIGN [x [=] y[...]]
  154.  
  155. Requests for drive 'x' are routed to
  156. drive 'y'.
  157.  
  158. EXAMPLE:  ASSIGN A=C^
  159.  
  160. After issuing this command, any requests
  161. for drive A: will access drive C:.
  162. e.g.  DIR A: will list the files on
  163. drive C:.
  164.  
  165. ASSIGN entered without parameters will
  166. reset any ASSIGNments.
  167.  
  168. ATTRIB
  169. COMMAND NAME:^  ATTRIB
  170.  
  171. DESCRIPTION:^   Allows you to manually
  172. set the ARCHIVE or READ-ONLY attributes
  173. on any file.
  174.  
  175. COMMAND TYPE:^  External
  176.  
  177. VERSION:^   3.0 and up
  178.  
  179. USE:^  ATTRIB [+R|-R][+A|-A][d:][path]
  180.       [filename][/S]
  181.  
  182. +R^ sets the file attribute to
  183. READ-ONLY.
  184.  
  185. -R^ removes the READ-ONLY file
  186. attribute and allows updating of the
  187. file.
  188.  
  189. +A^ sets the archive bit.
  190.  
  191. -A^ resets the archive bit.
  192.  
  193. d: path filename^ specifies the file
  194. whose attributes will be changed.
  195.  
  196. /S^ to process all files in the
  197. specified directory and its
  198. subdirectories.  (This switch is valid
  199. for DOS 3.3 and later versions).
  200.  
  201. EXAMPLE:  ATTRIB +R HELP.COM^
  202.  
  203. The above example sets the file
  204. 'HELP.COM' to a READ-ONLY status. 
  205.  
  206. BACKUP
  207. COMMAND NAME:^  BACKUP
  208.  
  209. DESCRIPTION:^   Backs up files from
  210. one disk to another.
  211.  
  212. COMMAND TYPE:^  External 
  213.  
  214. VERSION:^   2.0 and up
  215.  
  216. USE:^  BACKUP d:[path][filename]
  217.       d:[/S][/M][/A][/D:mm-dd-yy]      
  218.       [/T:hh:mm:ss][/F]      
  219.       [/L[:[d:[path]filename]]]
  220.  
  221. d:\path\filename^ specifies the
  222. source drive (the drive that contains
  223. the files that you want to back up).
  224.  
  225. The second d:^ specifies the
  226. destination drive (the drive to back up
  227. the files to).
  228.  
  229. /S^ includes all subdirectories in the
  230. backup.
  231.  
  232. /M^ backs up files that have been
  233. modified since the last backup.
  234.  
  235. /A^ backs up additional files to a
  236. diskette with back up files already on
  237. it.  Without this option, all files on
  238. the backup diskette will be destroyed. 
  239.  
  240. /D:mm-dd-yy^ backs up files that have
  241. been modified since a specific date.
  242.  
  243. NOTE:^  The following options /T,
  244. /F, and /L^ are new to DOS 3.3.  Do not
  245. try them with earlier versions.
  246.  
  247. /T:hh:mm:ss^ backs up files that have
  248. been modified on or after the specified
  249. time on the date specified.
  250.  
  251. /F^ formats the target diskette if it
  252. is not already formatted.
  253.  
  254. /L^ creates a log.  If a file name is
  255. not specified, the default is
  256. BACKUP.LOG, and the file is stored in
  257. the root directory of the source drive. 
  258. If a log file exists, the information is
  259. appended to the end of that file.  The
  260. first record of the file contains:
  261.  
  262. The date of the backup
  263. The time of the backup
  264.  
  265. Subsequent records contain:
  266.  
  267. Diskette number of the backed up file.
  268. Full path and file name of each backed
  269. up file.
  270.  
  271. Files created using the BACKUP command
  272. must be RESTOREd to be useful.
  273.  
  274. EXAMPLE:  BACKUP C:\*.* A:/S^
  275.  
  276. This example will back up all files (in
  277. all subdirectories) on drive C: to drive
  278. A:.
  279.  
  280. BREAK
  281. COMMAND NAME:^  BREAK
  282.  
  283. DESCRIPTION:^   Enables or disables
  284. extended CTRL-BREAK checking.
  285.  
  286. COMMAND TYPE:^  Internal
  287.  
  288. VERSION:^   2.0 and up
  289.  
  290. USE:^  BREAK = [ON|OFF]
  291.  
  292. ON and OFF^ are the allowable 
  293. settings.  The default setting is 
  294. BREAK = OFF.
  295.  
  296. When BREAK = OFF, DOS checks for a
  297. CTRL-BREAK only during standard input
  298. operations, standard output operations,
  299. print operations, and auxiliary
  300. operations.
  301.  
  302. EXAMPLE:  BREAK = ON^
  303.  
  304. This example sets the extended BREAK
  305. checking to on.  When BREAK is on, DOS
  306. will respond to CTRL-BREAK at any time.
  307.  
  308. BUFFERS
  309. COMMAND NAME:^  BUFFERS
  310.  
  311. DESCRIPTION:^   Sets the number of
  312. disk buffers allowed.
  313.  
  314. COMMAND TYPE:^  System Configuration
  315.  
  316. VERSION:^   2.0 and up
  317.  
  318. USE:^  BUFFERS = xx
  319.  
  320. xx^ must be a value from 1 to 99
  321. specifying the number of buffers to be
  322. used.  The default value is two buffers.
  323.  
  324. For disk intensive applications such as
  325. a database, more buffers are recom-
  326. mended.  Adding more buffers can speed
  327. up certain applications.  There is a
  328. limit, however, if you set the number of
  329. buffers over 20 it will begin to slow
  330. down applications.
  331.  
  332. EXAMPLE:  BUFFERS = 12^
  333.  
  334. Sets the number of buffers used by the
  335. system to 12.
  336.  
  337. NOTE:^  This command must be placed in
  338. the CONFIG.SYS file and is not a normal
  339. DOS command.
  340.  
  341. CHCP
  342. COMMAND NAME:^  CHCP
  343.  
  344. DESCRIPTION:^   Selects the code page
  345. that DOS will use and selects that code
  346. page for as may devices as possible. 
  347. This is a system level command, while
  348. MODE is a device level command.
  349.  
  350. COMMAND TYPE:^  Internal
  351.  
  352. VERSION:^  3.3 and up
  353.  
  354. USE:^  CHCP [nnn]
  355.  
  356. [nnn]^ specifies the desired code
  357. page.  If omitted, the operating system
  358. code page is displayed.
  359.  
  360. NOTES:^
  361.   
  362.   1.  The NLSFUNC command must be loaded
  363. prior to issuing the CHCP command.  See
  364. the NLSFUNC command for more
  365. information.
  366.  
  367.   2.  If a device driver has not been
  368. prepared for the requested code page,
  369. CHCP cannot select the code page for
  370. that device.  Refer to the MODE command
  371. in this chapter.
  372.  
  373.   3.  This command may need to access
  374. the COUNTRY.SYS file.  If the file
  375. cannot be found, a FILE NOT FOUND
  376. message is displayed.  Using the
  377. COUNTRY= statement in the CONFIG.SYS
  378. file or the NLSFUNC command, you can
  379. tell DOS where to find COUNTRY.SYS.
  380.  
  381.  
  382. CHDIR
  383. COMMAND NAME:^  CHDIR
  384.  
  385. DESCRIPTION:^   Displays or changes
  386. the current working directory.
  387.  
  388. COMMAND TYPE:^  Internal
  389.  
  390. VERSION:^   2.0 and up
  391.  
  392. USE:^  CHDIR [d:][path]
  393.  
  394.    or^
  395.  
  396. CD [d:][path]
  397.  
  398. d: path^ specifies the new drive and
  399. directory that will be made current.
  400.  
  401. If no parameters are used then the
  402. current drive and directory are
  403. displayed.
  404.  
  405. EXAMPLE:  CD \DOS^
  406.  
  407. Sets the working directory to a
  408. directory named DOS if it is available.
  409.  
  410. CHKDSK
  411. COMMAND NAME:^  CHKDSK
  412.  
  413. DESCRIPTION:^   Analyzes the files and
  414. directories on a disk and displays the
  415. total and available disk and RAM memory.
  416.  
  417. COMMAND TYPE:^  External
  418.  
  419. VERSION:^   2.0 and up
  420.  
  421. USE:^  CHKDSK [d:][path][filename]
  422.       [/F][/V]
  423.  
  424. d: path filename^ specifies a filename
  425. to check.  If a filename is specified,
  426. CHKDSK will report the number of
  427. noncontiguous areas occupied by the
  428. file.
  429.  
  430. /F^  corrects errors found in the
  431. directory and in the file allocation
  432. table, other errors are noted, but not
  433. corrected.
  434.  
  435. /V^  displays the paths and filenames
  436. on the specified drive. 
  437.  
  438. If CHKDSK finds invalid or lost
  439. clusters, you will be asked if you want
  440. to convert the lost clusters to files. 
  441. If you used the /F switch and answer yes
  442. to the prompt then the lost clusters
  443. will be converted to files.
  444.  
  445. These files will be named with the
  446. following naming convention:
  447.  
  448.           FILExxxx.CHK^
  449.  
  450. where  xxxx^ is a four digit number
  451. starting with 0000.
  452.  
  453. EXAMPLE:^  CHKDSK C: /F^
  454.  
  455. gives a status report of drive C: and
  456. fixes any errors found in the directory
  457. or the file allocation table.
  458.  
  459. EXAMPLE:^  CHKDSK C:*.*^
  460.  
  461. gives a status report of drive C: and
  462. lists any files that contain non-
  463. contiguous areas (files that are spread
  464. out around the disk).
  465.  
  466. If you have a large number of non-
  467. contiguous areas, it could slow the
  468. system speed considerably.  Performing a
  469. BACKUP and RESTORE of all files will
  470. correct this problem. 
  471.  
  472. CLS
  473. COMMAND NAME:^  CLS
  474.  
  475. DESCRIPTION:^   Clears the display.
  476.  
  477. COMMAND TYPE:^  Internal
  478.  
  479. VERSION:^   2.0 and up
  480.  
  481. USE:^  CLS
  482.  
  483. EXAMPLE:  CLS^
  484.  
  485. clears the screen.
  486.  
  487. COMMAND
  488. COMMAND NAME:^  COMMAND
  489.  
  490. DESCRIPTION:^   Invokes a secondary
  491. command processor.
  492.  
  493. COMMAND TYPE:^  External
  494.  
  495. VERSION:^   2.0 and up
  496.  
  497. USE:^  COMMAND [d:][path][/P]
  498.       [/C string][/E: xxxxx]
  499.  
  500. d: path^ is the drive and path that
  501. DOS will look in for the COMMAND
  502. processor.
  503.  
  504. /P^ makes the secondary command
  505. processor permanent in memory.  If you
  506. use the /P switch you cannot return to
  507. the original command processor.
  508.  
  509. /C string^   passes a string (a DOS
  510. command) to the command processor and
  511. then exits automatically.
  512.  
  513. /E:xxxxx^ is an integer that specifies
  514. the size of the environment.  The
  515. acceptable range of xxxxx is from 160 to
  516. 32768.
  517.  
  518. EXAMPLE:  COMMAND /C CHKDSK^
  519.  
  520. loads a secondary command processor,
  521. passes the command CHKDSK to DOS, and
  522. returns to the original command
  523. processor.
  524.  
  525. COMP
  526. COMMAND NAME:^  COMP
  527.  
  528. DESCRIPTION:^   Compares the contents
  529. of one file (or group of files) to
  530. another.
  531.  
  532. COMMAND TYPE:^  External
  533.  
  534. VERSION:^   2.0 and up
  535.  
  536. USE:^  COMP [d:][path][filename] 
  537.       [d:][path][filename]
  538.  
  539.  
  540. The first d: path filename^ specifies
  541. the first set of files to be compared.
  542.  
  543. The second d: path filename^ specifies
  544. the second set of files to be compared.
  545.  
  546. COMP^ compares files byte for byte. 
  547. Any bytes that do not match are 
  548. displayed. A typical error message would
  549. look like:
  550.  
  551.       Compare error at OFFSET 3B^
  552.       File 1 = 17^
  553.       File 2 = 26^
  554.  
  555. After 10 errors, COMP will abort.
  556.  
  557. EXAMPLE:  COMP A:HELP.* C:^
  558.  
  559. compares the contents of all files with
  560. the filename of HELP and any extension
  561. on drive A: to files on drive C: with
  562. matching filenames.
  563.  
  564. COPY
  565. COMMAND NAME:^  COPY
  566.  
  567. DESCRIPTION:^  Copies a file (or group
  568. of files) to the same or another disk.
  569.  
  570. COMMAND TYPE:^  Internal
  571.  
  572. VERSION:^   2.0 and up
  573.  
  574. USE:^  COPY [/A][/B][d:][path]
  575.       filename [/A][/B][d:][path]
  576.       [filename] [/A][/B][/V]
  577.  
  578.   or^
  579.  
  580. COPY  [/A][/B][d:][path] filename
  581.       [/A][/B][+[d:][path]
  582.       filename [/A][/B]] [d:][path]
  583.       [filename] [/A][/B][/V]
  584.  
  585.   or^
  586.  
  587. COPY  [/A][/B][d:][path] filename
  588.       [/A][/B][+[[,,]d:][path]filename
  589.       [/A][/B]...] [d:][path][filename]
  590.       [/A][/B][/V]
  591.  
  592.  
  593. The first d: path filename^ specifies
  594. the source file.
  595.  
  596. Using the +^ symbol will cause files
  597. to be joined together as they are
  598. copied.  For example:
  599.  
  600. EXAMPLE:   COPY FILE1 + FILE2 FILE3^
  601.  
  602. will copy the contents of FILE1 and
  603. FILE2 into FILE3.
  604.  
  605. The second d: path filename^ specifies
  606. the destination file.
  607.  
  608. When /A^ is used with the source
  609. filename, it will be copied up to the
  610. first end of file marker (Ctrl-Z). 
  611. The rest of the file will not be copied.
  612.  
  613. When /A^ is used with the destination
  614. file, an end of file marker will be
  615. added to the end of the file.
  616.  
  617. When /B^ is used with the source
  618. filename, the entire file will be
  619. copied (including CTRL-Z).
  620.  
  621. When /B^ is used with the destination
  622. filename, no end of file marker will be
  623. added to the end of the file.
  624.  
  625. /V^ verifies that the data is copied
  626. correctly.
  627.  
  628. The +^ symbol will concatenate or
  629. combine files as it copies.
  630.  
  631. EXAMPLE:
  632. COPY FIRST + SECOND  NEWFILE^
  633.  
  634. This command will copy the contents
  635. of the files FIRST and SECOND into the 
  636. file NEWFILET.
  637.  
  638. WILD CARD CHARACTERS:^  Wild Card
  639. characters are allowed within or in
  640. place of filenames.
  641.  
  642. There are two wild card characters, ?^
  643. and *^, that may be used with the copy
  644. command.  The characters ?^ and *^
  645. are very handy for copying groups of
  646. files with a single command.
  647.  
  648. Using the ?^ character within a
  649. filename indicates that any character
  650. can occupy that position in the
  651. filename.
  652.  
  653. EXAMPLE:  COPY FIR??.DAT B:^
  654.  
  655. This command will include files such as
  656.  
  657.    FIRST.DAT^
  658.    FIRMS.DAT^
  659.    FIR01.DAT^
  660.  
  661.  
  662. Using the *^ character within a
  663. filename indicates that any character or
  664. group of characters can occupy that
  665. position.
  666.  
  667. EXAMPLE:  COPY *.DAT B:^
  668.  
  669. This command will include any file with
  670. the extension DAT.  The following files
  671. would be included.
  672.  
  673.     TEST.DAT^
  674.    FIRST.DAT^
  675.     HELP.DAT^
  676.  
  677. COUNTRY
  678. COMMAND NAME:^  COUNTRY
  679.  
  680. DESCRIPTION:^   Selects the date,
  681. time, and currency formats to use for a
  682. specific country.
  683.  
  684. COMMAND TYPE:^  System Configuration
  685.  
  686. VERSION:^   3.0 and up
  687.  
  688. USE:^  COUNTRY = xxx
  689.  
  690. xxx^ is a 3 digit code which
  691. designates a particular country.
  692.  
  693. The following codes and corresponding
  694. countries are listed below.
  695.  
  696. AUSTRALIA      061^
  697. BELGIUM        032^
  698. CANADA/FRENCH  002^
  699. DENMARK        045^
  700. FINLAND        358^
  701. FRANCE         033^
  702. GERMANY        049^
  703. ITALY          039^
  704. ISRAEL         972^
  705. MIDDLE EAST    785^
  706. NETHERLANDS    031^
  707. NORWAY         047^
  708. PORTUGAL       351^
  709. SPAIN          034^
  710. SWEDEN         046^
  711. SWITZERLAND    041^
  712. U. KINGDOM     044^
  713. USA            001^
  714.  
  715. EXAMPLE:  COUNTRY = 001^
  716.  
  717. Sets the COUNTRY code for USA.
  718.  
  719. NOTE:^  This command must be placed in
  720. the CONFIG.SYS file and is not a normal
  721. DOS command.
  722.  
  723. CTTY
  724. COMMAND NAME:^  CTTY
  725.  
  726. DESCRIPTION:^   Changes the standard
  727. input and output device to an auxiliary
  728. device, or restores the keyboard and
  729. screen as the standard input and output
  730. devices.
  731.  
  732. COMMAND TYPE:^  Internal
  733.  
  734. VERSION:^   2.0 and up
  735.  
  736. USE:^  CTTY device
  737.  
  738. The available devices are:
  739.  
  740.   AUX:      ASYNCHRONOUS PORT^
  741.   COM1:     ASYNCHRONOUS PORT^
  742.   COM2:     ASYNCHRONOUS PORT^
  743.   CON:      KEYBOARD INPUT and SCREEN^
  744.             OUTPUT^
  745.  
  746. EXAMPLE:  CTTY COM1^
  747.  
  748. After this command is performed, all
  749. standard input and output will be sent
  750. to and taken from the primary
  751. asynchronous port.
  752.  
  753. DATE
  754. COMMAND NAME:^  DATE
  755.  
  756. DESCRIPTION:^   Displays or sets the
  757. system date.
  758.  
  759. COMMAND TYPE:^  Internal
  760.  
  761. VERSION:^   2.0 and up
  762.  
  763. USE:^  DATE [mm-dd-yy]
  764.  
  765. If DATE is entered with no parameters,
  766. the current date will be displayed and
  767. you will be prompted to enter a new
  768. date.  If the date is correct, simply
  769. press ENTER.
  770.  
  771. If you wish, you may enter the date
  772. immediately after DATE in the format
  773. mm-dd-yy.  
  774.  
  775. mm^ is a two digit month designation.
  776.   
  777. dd^ is a two digit day designation.
  778.  
  779. yy^ is a two digit year designation.
  780.  
  781. EXAMPLE:  DATE 03-15-90^
  782.  
  783. Sets the system date to March 15, 1990.
  784.  
  785. DEL
  786. COMMAND NAME:^  DEL
  787.  
  788. DESCRIPTION:^   Deletes a file (or
  789. group of files) from a disk.
  790.  
  791. COMMAND TYPE:^  Internal
  792.  
  793. VERSION:^   2.0 and up
  794.  
  795. USE:^  DEL [d:][path] filename
  796.  
  797. d: path filename^ specifies the file
  798. to DELete.
  799.  
  800. EXAMPLE:  DEL A:TEST.DAT^
  801.  
  802. Deletes the file TEST.DAT from drive A:
  803.  
  804. DEVICE
  805. COMMAND NAME:^  DEVICE
  806.  
  807. DESCRIPTION:^   Allows MS-DOS to load
  808. and utilize a device driver.
  809.  
  810. COMMAND TYPE:^  System Configuration
  811.  
  812. VERSION:^   2.0 and up
  813.  
  814. USE:^  DEVICE = [d:][path]filename
  815.  
  816. d: path filename^ specifies the file
  817. to use as a device driver.
  818.  
  819. All DEVICE drivers must be included in
  820. the CONFIG.SYS file to operate properly.
  821.  
  822. Three DEVICE drivers are standard.
  823.  
  824.   ANSI.SYS^
  825.   DRIVER.SYS^
  826.   VDISK.SYS^
  827.  
  828.  
  829. ANSI.SYS^ gives you access to extended
  830. keyboard and screen control.
  831.  
  832. The format for installing ANSI.SYS is:
  833.  
  834. DEVICE = ANSI.SYS^
  835.  
  836.  
  837. DRIVER.SYS^ allows access of a disk
  838. device.
  839.  
  840. The format for installing DRIVER.SYS is:
  841.  
  842. DEVICE=DRIVER.SYS /D:ddd[/T:ttt]^
  843. [/S:ss][/H:hh][/C][/N][/F:f]^
  844.  
  845. /D:ddd^ specifies the physical drive
  846. number.  Values of 0 to 255 are
  847. accepted.
  848.  
  849. /T:ttt^ specifies the number of tracks
  850. per side.  Values of 1 to 999 are
  851. accepted.
  852.  
  853. /S:ss^ specifies the number of sectors
  854. per track.  Values of 1 to 99 are
  855. accepted.
  856.  
  857. /H:hh^ specifies the maximum number of
  858. heads.  Values of 1 to 99 are accepted.
  859.  
  860. /C^ specifies that changeline support
  861. is required.
  862.  
  863. /N^ specifies that the disk is not
  864. removable.
  865.  
  866. /F:f^ specifies the device type.
  867.  
  868.  
  869. VDISK^ sets up a virtual disk. 
  870. Virtual disks actually make your
  871. computer's memory act like a disk drive.
  872. As a result, a virtual disk will be much
  873. faster than an actual disk.
  874.  
  875. The format for installing VDISK.SYS is:
  876.  
  877. DEVICE=VDISK.SYS[comment][bbb]^
  878. [comment][sss][comment][ddd][/E[:m]]^
  879.  
  880. comment^ is a message containing
  881. normal
  882. text characters.
  883.  
  884. bbb^ is the size of the virtual disk
  885. in Kbytes.  Values between 1K and the
  886. memory available in your machine will be
  887. accepted.
  888.  
  889. sss^ is the sector size in bytes. 
  890. 128, 256, and 512 are the sizes that
  891. will be accepted.
  892.  
  893. Smaller sector sizes will utilize space
  894. better.  Larger sector sizes will
  895. improve performance.
  896.  
  897. ddd^ is the number of files that the
  898. virtual disk can hold.  Values between 2
  899. and 512 are accepted.
  900.  
  901. /E^ will force VDISK to use the
  902. extended memory (memory above 1 
  903. megabyte).
  904.  
  905. EXAMPLE: DEVICE=VDISK.SYS 200 256 64
  906. ^
  907. sets up a virtual disk with 200K storage
  908. space, 256 bytes per sector, and 64
  909. directory entries.
  910.  
  911. NOTE:^  All of these device drivers
  912. must be placed in the CONFIG.SYS file
  913. and be used in conjunction with the
  914. DEVICE = DRIVER command.  These are not
  915. commands which are available at the DOS
  916. level. 
  917.  
  918. DIR
  919. COMMAND NAME:^  DIR
  920.  
  921. DESCRIPTION:^   Lists the files in a
  922. directory.
  923.  
  924. COMMAND TYPE:^  Internal
  925.  
  926. VERSION:^   2.0 and up
  927.  
  928. USE:^  DIR [d:][path][filename]
  929.       [/P][/W]
  930.  
  931. d: path filename^ specifies the drive,
  932. path, and filenames to list.
  933.  
  934. /P^ will PAUSE the listing each time a
  935. screen full of file names appears.  You
  936. will be asked to press a key when you
  937. are ready to continue.  This keeps the
  938. files from scrolling by faster than you
  939. can read them.
  940.  
  941. /W^ will list the files in a WIDE
  942. format.  Only the file names will be
  943. listed and they will be listed five
  944. across.  You can fit a much larger
  945. directory on the screen this way.
  946.  
  947. EXAMPLE:  DIR *.BAS /W^
  948.  
  949. lists all files on the current disk with
  950. the extension .BAS using the WIDE
  951. format.
  952.  
  953. WILD CARD CHARACTERS:^  Wild Card
  954. characters are allowed within or in
  955. place of filenames.
  956.  
  957. There are two wild card characters, ?^
  958. and *^, that may be used with the DIR
  959. command.  The characters ?^ and *^
  960. are very handy for listing groups of
  961. files with a single command.
  962.  
  963. Using the ?^ character within a
  964. filename indicates that any character
  965. can occupy that position in the
  966. filename.
  967.  
  968. EXAMPLE:  DIR FIR??.DAT^
  969.  
  970. This command will list files such as
  971.  
  972.    FIRST.DAT^
  973.    FIRMS.DAT^
  974.    FIR01.DAT^
  975.  
  976.  
  977. Using the *^ character within a
  978. filename indicates that any character or
  979. group of characters can occupy that
  980. position.
  981.  
  982. EXAMPLE:  DIR *.DAT^
  983.  
  984. This command will list any file with
  985. the extension DAT.  The following files
  986. would be included.
  987.  
  988.     TEST.DAT^
  989.    FIRST.DAT^
  990.     HELP.DAT^
  991.  
  992. DISKCOMP
  993. COMMAND NAME:^  DISKCOMP
  994.  
  995. DESCRIPTION:^   Compares the contents
  996. of one diskette to another.
  997.  
  998. COMMAND TYPE:^  External
  999.  
  1000. VERSION:^   2.0 and up
  1001.  
  1002. USE:^  DISKCOMP [d:[d:]] [/1][/8]
  1003.  
  1004. d: d:^ are the two disk drives to be
  1005. compared.
  1006.  
  1007. /1^ compares the first side of the
  1008. disk only, even if the disk is double
  1009. sided.
  1010.  
  1011. /8^ compares eight sectors per track
  1012. instead of nine.
  1013.  
  1014. DISKCOMP will operate on floppy disks
  1015. only.
  1016.  
  1017. EXAMPLE:  DISKCOMP A: B: /1^
  1018.  
  1019. compares the contents of the disk in
  1020. drive A: (track by track) to the
  1021. contents of the disk in drive B: using
  1022. only the first side.
  1023.  
  1024. DISKCOPY
  1025. COMMAND NAME:^  DISKCOPY
  1026.  
  1027. DESCRIPTION:^   Copies the contents of
  1028. one diskette to another.  The
  1029. destination diskette will automatically
  1030. be formatted if necessary.
  1031.  
  1032. COMMAND TYPE:^  External
  1033.  
  1034. VERSION:^   2.0 and up
  1035.  
  1036. USE:^  DISKCOPY [d:[d:]][/1]
  1037.  
  1038. The first d:^ is the source disk for
  1039. the DISKCOPY.
  1040.  
  1041. The second d:^ is the destination disk
  1042. for the DISKCOPY.
  1043.  
  1044. /1^ copies only the first side of the
  1045. disk.
  1046.  
  1047. If the destination disk has not been
  1048. formatted, then DISKCOPY will format as
  1049. it copies.
  1050.  
  1051. DISKCOPY is performed on floppy disks
  1052. only.  An attempt to use DISKCOPY with a
  1053. fixed disk will not work.
  1054.  
  1055. DISKCOPY makes a mirror image copy of
  1056. a diskette on to another diskette.  As a
  1057. result, any flaws or fragmented files
  1058. will also be copied over.  The COPY or
  1059. XCOPY commands would work much better
  1060. under these circumstances.
  1061.  
  1062. EXAMPLE:  DISKCOPY A: B:^
  1063.  
  1064. creates a mirror image copy of the disk
  1065. in drive A: on to the disk in drive B:.
  1066.  
  1067. DISPLAY.SYS
  1068. COMMAND NAME:^  DISPLAY.SYS
  1069.  
  1070. DESCRIPTION:^   Allows you to use code
  1071. page switching on the IBM PC convertible
  1072. LCD screen, EGA, and IBM Personal
  1073. System/2 displays.
  1074.  
  1075. USE:^  DEVICE=[d:][path] DISPLAY.SYS
  1076. CON[:] = (type[,[hwcp][,n]])
  1077.  
  1078.     or
  1079.  
  1080. DEVICE=[d:][path] DISPLAY.SYS CON[:] =
  1081. (type[,[hwcp][,(n,m)]])
  1082.  
  1083. type^ specifies the display adapter
  1084. type.  The display types are MONO, CGA,
  1085. EGA, and LCD.
  1086.  
  1087. NOTE:^  If you are using ANSI.SYS and
  1088. DISPLAY.SYS, the DEVICE=ANSI.SYS
  1089. statement must appear before the
  1090. DEVICE=DISPLAY.SYS statement in the
  1091. CONFIG.SYS file.
  1092.  
  1093. NOTE:^  The display type EGA supports
  1094. the Enhanced Graphics Adapter and IBM
  1095. Personal System/2.  The IBM Personal
  1096. System/2 video support is not
  1097. functionally equivalent to EGA video
  1098. support.
  1099.  
  1100. hwcp^ specifies the code page
  1101. supported directly by the hardware.  The
  1102. possible hwcp are 437, 850, 860, 863,
  1103. and 865.
  1104.  
  1105. n^ specifies the number of additional
  1106. codes that can be supported.  This value
  1107. is referred to as the number of prepared
  1108. code pages.  The allowable range of
  1109. additional code pages n must be between
  1110. 0 and 12.
  1111.  
  1112. NOTE:^  The MONO and CGA cannot
  1113. support prepared pages.  The value of n
  1114. must be 0.
  1115.  
  1116. Each prepared code page requires a
  1117. buffer in DISPLAY.SYS which hold the
  1118. corresponding character fonts.
  1119.  
  1120. m^ specifies the number of sub-fonts
  1121. supported for each code page.  These
  1122. sub-fonts vary for different adapters
  1123. and display modes.  If the value of m is
  1124. not specified then the default is the
  1125. maximum number of sub-fonts:
  1126. 
  1127. ┌───────────┬────────────┬─────────────┐
  1128. │ Devices   │ Font Size  │  Default m  │
  1129. ├───────────┼────────────┼─────────────┤
  1130. │EGA        │ 8x8  8x14  │  2          │
  1131. ├───────────┼────────────┼─────────────┤
  1132. │IBM PS/2   │ 8x8  8x16  │  2          │
  1133. ├───────────┼────────────┼─────────────┤
  1134.  
  1135. │Convertible│ 8x8        │  1          │
  1136. └───────────┴────────────┴─────────────┘
  1137. ^
  1138. The following table is a compiled list
  1139. of parameters for DISPLAY.SYS:
  1140.  
  1141. 
  1142. ┌───────┬───────┬──────┬─────┬───────┐
  1143. │ Device│Default│ n    │ m   │Default│
  1144. │  Type │   n   │      │     │  m    │
  1145. ├───────┼───────┼──────┼─────┼───────┤
  1146. │ CGA   │   0   │ 0    │ 0   │  0    │
  1147. ├───────┼───────┼──────┼─────┼───────┤
  1148. │ MONO  │   0   │ 0    │ 0   │  0    │
  1149. ├───────┼───────┼──────┼─────┼───────┤
  1150. │ EGA & │   1   │ 1-12 │ 1-2 │  2    │
  1151. │ PS/2  │       │      │     │       │
  1152. ├───────┼───────┼──────┼─────┼───────┤
  1153. │ LCD   │   1   │ 1-12 │ 1   │  1    │
  1154. └───────┴───────┴──────┴─────┴───────┘
  1155. ^
  1156. The number of additional code page
  1157. values may cause a buffer to be used to
  1158. hold the image data.  The size of this
  1159. buffer is dependent on the display type.
  1160.  
  1161.  
  1162. EXAMPLE:  DEVICE=C:\DOS\DISPLAY.SYS
  1163. CON:=(EGA, 437, 2)^
  1164.  
  1165. This example installs the code page
  1166. switching support for the CON: device. 
  1167. It also tells the CON: driver that the
  1168. display is an Enhanced Graphics Adapter
  1169. with the 437 code page built in.  The
  1170. CON driver holds up to two pages
  1171. prepared by the use of the MODE command.
  1172.  
  1173.  
  1174. DRIVER.SYS
  1175. COMMAND NAME:^  DRIVER.SYS
  1176.  
  1177. DESCRIPTION:^   DRIVER.SYS allows
  1178. access of a disk device.
  1179.  
  1180. COMMAND TYPE:^  EXTERNAL
  1181.  
  1182. VERSION:  3.2 and up
  1183.  
  1184. USE:^  DEVICE=DRIVER.SYS /D:ddd
  1185.       [/T:ttt][/S:ss][/H:hh][/C]
  1186.       [/N][/F:f]^
  1187.  
  1188. /D:ddd^ specifies the physical drive
  1189. number.  Values of 0 to 255 are
  1190. accepted.
  1191.  
  1192. /T:ttt^ specifies the number of tracks
  1193. per side.  Values of 1 to 999 are
  1194. accepted.
  1195.  
  1196. /S:ss^ specifies the number of sectors
  1197. per track.  Values of 1 to 99 are
  1198. accepted.
  1199.  
  1200. /H:hh^ specifies the maximum number of
  1201. heads.  Values of 1 to 99 are accepted.
  1202.  
  1203. /C^ specifies that changeline support
  1204. is required.
  1205.  
  1206. /N^ specifies that the disk is not
  1207. removable.
  1208.  
  1209. /F:f^ specifies the device type.
  1210.  
  1211. NOTE:^  The DRIVER.SYS device driver
  1212. must be placed in the CONFIG.SYS file
  1213. and be used in conjunction with the
  1214. DEVICE = DRIVER command. 
  1215.  
  1216. ECHO
  1217. COMMAND NAME:^  ECHO
  1218.  
  1219. DESCRIPTION:^   Enables or disables
  1220. the screen display of DOS commands
  1221. during the execution of batch files.
  1222.  
  1223. COMMAND TYPE:^  Internal (batch)
  1224.  
  1225. VERSION:^   2.0 and up
  1226.  
  1227. USE:^  ECHO [ON|OFF][message]
  1228.  
  1229. ON | OFF^ turns ECHO on or off.
  1230.  
  1231. message^ is a text message that will
  1232. be displayed on the screen.
  1233.  
  1234. EXAMPLE:  ECHO OFF^
  1235.  
  1236. After turning ECHO off, any batch file
  1237. commands encountered by DOS will not be
  1238. echoed to the screen.
  1239.  
  1240. A new option available with DOS 3.3 is
  1241. the @^ symbol.  When the @ symbol is
  1242. used before a REMark or before an ECHO
  1243. ON or ECHO OFF command, that command
  1244. will not be displayed.
  1245.  
  1246. EXAMPLE:^  @ECHO OFF^
  1247.  
  1248. In the above example, ECHO OFF is not
  1249. displayed because of the @ symbol.
  1250.  
  1251. EDLIN
  1252. COMMAND NAME:^  EDLIN
  1253.  
  1254. DESCRIPTION:^   EDLIN is a line
  1255. editor.  It can be used to create, edit,
  1256. and display ASCII files.
  1257.  
  1258. COMMAND TYPE:^  External
  1259.  
  1260. VERSION:^   2.0 and up
  1261.  
  1262. USE:^  EDLIN [d:][path] filename [/B]
  1263.  
  1264. d: path filename^ specifies the name
  1265. of the file to create or edit.  If the
  1266. /B^ parameter is not used, EDLIN will
  1267. stop loading the specified file when the
  1268. first end of file marker (Ctrl-Z) is
  1269. encountered.  If /B^ is used, the
  1270. entire file will be loaded.
  1271.  
  1272. EXAMPLE:  EDLIN HELPTEXT^
  1273.  
  1274. Opens the file HELPTEXT for editing if
  1275. it already exists or creates a file if
  1276. HELPTEXT can't be found.
  1277.  
  1278. EDLIN will perform a number of editing
  1279. commands.  The commands and formats are
  1280. summarized below.
  1281.  
  1282. Many commands will allow you to specify
  1283. line numbers.  You may use the symbol
  1284. .^ in place of the current line number
  1285. and #^ in place of the line number of
  1286. the last line in the buffer.
  1287.  
  1288. A - APPEND  ^loads lines from the    
  1289. disk and places them at the end of
  1290. the input buffer.
  1291.  
  1292. USE:  ^[n]A
  1293.  
  1294. [n]^ specifies the number of lines to
  1295. append to the current file.
  1296.  
  1297.  
  1298. C - COPY  ^copies the contents of a 
  1299. line or range of lines to another
  1300. location.
  1301.  
  1302. USE:  ^[line],[line],line[,count]C
  1303.  
  1304. The first two [line]'s^ specify the
  1305. range of lines to copy.  The third
  1306. [line]^ specifies the line to copy to.
  1307.  
  1308. [count]^ specifies the number of times
  1309. that the copy will be performed.
  1310.  
  1311. D - DELETE  ^deletes a line or range 
  1312. of lines.
  1313.  
  1314. USE:  ^[line][,line]D
  1315.  
  1316. The [line]^ parameters specify the
  1317. first and last line to delete.
  1318.  
  1319. EDIT  ^calls up a line of text for
  1320. editing.
  1321.  
  1322. USE:  ^[line]
  1323.  
  1324. [line]^ specifies the line to edit.
  1325.  
  1326. E - END  ^saves the current file and
  1327. exits EDLIN.
  1328.  
  1329. I - INSERT  ^inserts lines of text in 
  1330. the current file.
  1331.  
  1332. USE  ^[line] I
  1333.  
  1334. [line]^ specifies the line number
  1335. where the insert will begin.
  1336.  
  1337. L - LIST  ^displays a line or range 
  1338. of lines.
  1339.  
  1340. USE:  ^[line][,line] L
  1341.  
  1342. [line][,line]^ specifies the first and
  1343. last lines to list.
  1344.  
  1345. M - MOVE  ^moves a line or range of 
  1346. lines to a specified line.
  1347.  
  1348. USE:  ^[line],[line],line M
  1349.  
  1350. The first two [line]'s^ specify the
  1351. first and last lines to move.  The third
  1352. occurence of line^ specifies the line 
  1353. number where the text will be moved to.
  1354.  
  1355. P - PAGE  ^allows you to scroll    
  1356. through a file one PAGE (23 lines) at a
  1357. time.
  1358.  
  1359. USE:  ^[line][,line] P
  1360.  
  1361. [line][,line]^ specifies the first and
  1362. last lines to display.
  1363.  
  1364. Q - QUIT  ^exits EDLIN without     
  1365. saving the current file.
  1366.  
  1367. EDLIN is continued on the next page. 
  1368. Press CTRL-PgDn^ to display the next
  1369. page.
  1370.  
  1371. EDLIN
  1372.  
  1373. Continued from the previous page.  Press
  1374. CTRL-PgUp^ to display the previous
  1375. page.
  1376.  
  1377.  
  1378. R - REPLACE  ^replaces all occurrences
  1379. of a specified string with a second
  1380. string.
  1381.  
  1382. USE:  ^
  1383. [line][,line][?]  R[string1][^Zstring2]
  1384.  
  1385. [line] and [,line]^ specify the range
  1386. of lines to perform the REPLACE on.  The
  1387. optional ?^ will request an O.K.?^
  1388. prompt after each replace.  string1^
  1389. specifies the string to search for and
  1390. string2^ is the string to replace it
  1391. with.
  1392.  
  1393.  
  1394. S - SEARCH  ^searches for a specified
  1395. string.
  1396.  
  1397. USE:  ^[line][,line][?] Sstring
  1398.  
  1399. [line] and [,line]^ specify the range
  1400. of lines to perform the SEARCH on.  The
  1401. optional ?^ will request an O.K.?^
  1402. prompt after each replace.  string^ is
  1403. the string to search for.
  1404.  
  1405.  
  1406. T - TRANSFER  ^loads the contents of a
  1407. specified file into the file currently
  1408. being edited.
  1409.  
  1410. USE:  ^[line] Tfilespec
  1411.  
  1412. [line]^ specifies the location where
  1413. the file being TRANSFERred (merged) will
  1414. be placed.  filespec^ is the file to
  1415. be TRANSFERred.
  1416.  
  1417. W - WRITE  ^writes lines to disk    
  1418. from the file currently being edited. 
  1419. This command is used to free up memory.
  1420.  
  1421. USE:  ^[n] W
  1422.  
  1423. [n]^ specifies the number of lines to
  1424. write to disk.
  1425.  
  1426.  
  1427. ERASE
  1428. COMMAND NAME:^  ERASE
  1429.  
  1430. DESCRIPTION:^   Removes a file (or
  1431. group of files) from a disk.
  1432.  
  1433. COMMAND TYPE:^  Internal
  1434.  
  1435. VERSION:^   2.0 and up
  1436.  
  1437. USE:^  ERASE [d:][path] filename
  1438.  
  1439. d: path filename^ specifies the file
  1440. to ERASE.
  1441.  
  1442. EXAMPLE:  ERASE A:TEST.DAT^
  1443.  
  1444. Deletes the file TEST.DAT from drive A:
  1445.  
  1446. EXE2BIN
  1447. COMMAND NAME:^  EXE2BIN
  1448.  
  1449. DESCRIPTION:^   Converts a file from
  1450. the .EXE format to .COM or .BIN formats.
  1451.  
  1452. COMMAND TYPE:^  External
  1453.  
  1454. VERSION:^   2.0 and up
  1455.  
  1456. USE:^  EXE2BIN [d:][path]filename
  1457.       [d:][path][filename]
  1458.  
  1459. The first [d:][path]filename^
  1460. specifies the name of the input file
  1461. (.EXE file).
  1462.  
  1463. The second [d:][path][filename]^
  1464. specifies the name of the output file
  1465. (.COM file).
  1466.  
  1467. FASTOPEN
  1468. COMMAND NAME:^  FASTOPEN
  1469.  
  1470. DESCRIPTION:^   DOS locates files by
  1471. searching each directory in the path to
  1472. the file each time the file is accessed.
  1473.  
  1474. On fixed disks with complex directory
  1475. structures, this can take a large amount
  1476. of time.  FASTOPEN stores in memory the
  1477. location of directories and recently
  1478. opened files.  When accessing a file,
  1479. FASTOPEN searches the memory list first;
  1480. if the file is in the list, it is found
  1481. very quickly.
  1482.  
  1483. COMMAND TYPE:^  External
  1484.  
  1485. VERSION:^   3.3 and up
  1486.  
  1487. USE:^  FASTOPEN d:[=nnn] ...
  1488.  
  1489. d:^ to specify the drive to process. 
  1490. Any fixed disk drives may be used.
  1491.  
  1492. =nnn^ specifies the number of
  1493. directories or file entries to remember
  1494. for the drive specified as d.  If the
  1495. value is not provided, the default is
  1496. 34.  (The minimum is 10 and the maximum
  1497. is 999.)  The sum of all nnn cannot be
  1498. greater than 999.
  1499.  
  1500. FASTOPEN can be used only once.  All
  1501. drives must be defined the first time
  1502. FASTOPEN is used.
  1503.  
  1504. EXAMPLE:^  FASTOPEN C:=100^
  1505.  
  1506. This example will cause DOS to remember
  1507. up to 100 directories and / or files on
  1508. drive C:.
  1509.  
  1510.  
  1511. FCBS
  1512. COMMAND NAME:^  FCBS
  1513.  
  1514. DESCRIPTION:^   Specifies the number
  1515. of file control blocks that may be open
  1516. at one time by DOS.
  1517.  
  1518. COMMAND TYPE:^  System Configuration
  1519.  
  1520. VERSION:^   3.0 and up
  1521.  
  1522. USE:^  FCBS = m,n
  1523.  
  1524. m^ specifies the number of files that
  1525. can be opened by file control blocks at
  1526. one time.  Acceptable values are 1 to
  1527. 255.
  1528.  
  1529. n^ specifies the number files that DOS
  1530. cannot automatically close.
  1531.  
  1532. NOTE:^  This command must be placed in
  1533. the CONFIG.SYS file and is not a normal
  1534. DOS command.
  1535.  
  1536. FDISK
  1537. COMMAND NAME:^  FDISK
  1538.  
  1539. DESCRIPTION:^   Installs a partition
  1540. on a hard disk drive for MS-DOS and
  1541. prepares it for formatting.
  1542.  
  1543. COMMAND TYPE:^  External
  1544.  
  1545. VERSION:^   2.0 and up
  1546.  
  1547. USE:^  FDISK
  1548.  
  1549. FDISK is a menu driven program.  If you
  1550. have any questions as to what any
  1551. particular options do, you should refer
  1552. to your GUIDE TO OPERATIONS.
  1553.  
  1554. NOTE:^  Be careful with this command
  1555. because you will probably destroy any
  1556. data that is on your disk.
  1557.  
  1558. FILES
  1559. COMMAND NAME:^  FILES
  1560.  
  1561. DESCRIPTION:^   Determines the number
  1562. of files that can be open at any one
  1563. time.
  1564.  
  1565. COMMAND TYPE:^  System Configuration
  1566.  
  1567. VERSION:^   2.0 and up
  1568.  
  1569. USE:^  FILES = xx
  1570.  
  1571. xx^ specifies the number of files that
  1572. can be open at one time.  The acceptable
  1573. values are 8 to 255.
  1574.  
  1575. EXAMPLE:  FILES = 15^
  1576.  
  1577. after this command is placed in the
  1578. CONFIG.SYS file, up to 15 files may be
  1579. open at one time.
  1580.  
  1581. NOTE:^  This command must be placed in
  1582. the CONFIG.SYS file and is not a normal
  1583. DOS command.
  1584.  
  1585. FIND
  1586. COMMAND NAME:^  FIND
  1587.  
  1588. DESCRIPTION:^   Searches a file for a
  1589. specific string of text.
  1590.  
  1591. COMMAND TYPE:^  External
  1592.  
  1593. VERSION:^   2.0 and up
  1594.  
  1595. USE:^  FIND [/V][/C][/N]"string"
  1596.       [[d:][path]filename...]
  1597.  
  1598. /V^ displays the lines that don't
  1599. contain the requested string.
  1600.  
  1601. /C^ displays the number of lines that
  1602. contain a match of the requested string.
  1603.  
  1604. /N^ displays the number of each line
  1605. that contains a match of the requested
  1606. string along with the line of text.
  1607.  
  1608. "string"^ is the string of text to
  1609. search for.
  1610.  
  1611. If no parameters are entered, all lines
  1612. that contain a match of the requested
  1613. string will be displayed.
  1614.  
  1615. The string must be an exact match.  For
  1616. example TEST and test will not be a
  1617. match.
  1618.  
  1619. d: path filename^ is the file to be
  1620. searched.
  1621.  
  1622. You may search for a string through
  1623. several files using one command by
  1624. listing them in succession.
  1625.  
  1626. EXAMPLE:^ FIND "test" file1 file2 ^
  1627.  
  1628. would display all lines contained in
  1629. file1, file2, and so on that contain the
  1630. string "test".
  1631.  
  1632. If you need to search for a string
  1633. containing a double quote, simply use
  1634. two quotes in succession.  In other
  1635. words, to find "test", you would enter:
  1636.  
  1637. FIND ""test""^
  1638.  
  1639. FOR
  1640. COMMAND NAME:^  FOR
  1641.  
  1642. DESCRIPTION:^   Repeats a command for
  1643. several variables in a batch file.
  1644.  
  1645. COMMAND TYPE:^  Internal (batch)
  1646.  
  1647. VERSION:^   2.0 and up
  1648.  
  1649. USE:^  FOR %%variable IN(set) DO
  1650.       command
  1651.  
  1652. %%variable^ represents a variable that
  1653. will be sequentially set to each value
  1654. in set^.  If the FOR command is used
  1655. in a batch file, %%variable^ must be
  1656. used, if the FOR command is used at the
  1657. DOS level, only one %^ is required.
  1658.  
  1659. set^ contains the actual values that
  1660. %%variable^ will represent when the
  1661. command is executed.  Wildcard
  1662. characters are allowed in set.
  1663.  
  1664. command^ is the DOS command that will
  1665. be repeated.
  1666.  
  1667. EXAMPLE:^
  1668. FOR %%g IN(*.TXT) DO TYPE  %%g^
  1669.  
  1670. when this command is encountered in a
  1671. batch file, all files with the extension
  1672. .TXT will be TYPEd (displayed on the
  1673. screen).
  1674.  
  1675. FORMAT
  1676. COMMAND NAME:^  FORMAT
  1677.  
  1678. DESCRIPTION:^   Initializes a disk or
  1679. partition, checks for any defective
  1680. tracks, and prepares the disk to accept
  1681. DOS files.
  1682.  
  1683. COMMAND TYPE:^  External
  1684.  
  1685. VERSION:^   2.0 and up
  1686.  
  1687. USE:^  FORMAT [d:][/S][/1][/8][/V][/B]
  1688.       [/4]
  1689.  
  1690.  
  1691. d:^ is the drive to be formatted.
  1692.  
  1693. /S^ copies the system files from the
  1694. source disk to the destination disk and
  1695. makes the disk bootable.  There are
  1696. three system files:
  1697.  
  1698.    IBMBIO.COM^
  1699.    IBMDOS.COM^
  1700.    COMMAND.COM^
  1701.  
  1702. /1^ formats a diskette on 1 side only
  1703. making it a single sided diskette
  1704. regardless of the drive type used.
  1705.  
  1706. /8^ formats a disk using 8 sectors per
  1707. track.  To remain compatible with
  1708. version 1.1 of DOS, this will be
  1709. required.
  1710.  
  1711. /V^ will allow you to add a volume
  1712. label to the diskette being formatted. 
  1713. Volume labels are a way to identify
  1714. individual diskettes.
  1715.  
  1716. /B^ formats a diskette using 8 sectors
  1717. per track and allocates space for system
  1718. files to be transferred later (using the
  1719. SYS command).  Using the /B option will
  1720. allow you to install any version of the
  1721. DOS system files.
  1722.  
  1723. /4^ formats a double sided diskette in
  1724. a high capacity drive.  
  1725.  
  1726.  
  1727. EXAMPLE:  FORMAT C: /S /V^
  1728.  
  1729. FORMATS drive C:, copies the SYSTEM
  1730. files to drive C:, and prompts the user
  1731. for a VOLUME LABEL.
  1732.  
  1733. GOTO
  1734. COMMAND NAME:^  GOTO
  1735.  
  1736. DESCRIPTION:^   Transfers control of a
  1737. batch file to the command after the line
  1738. containing the appropriate label.
  1739.  
  1740. COMMAND TYPE:^  Internal (batch)
  1741.  
  1742. VERSION:^   2.0 and up
  1743.  
  1744. USE:^  GOTO :label
  1745.  
  1746. In a batch file, a label is a word
  1747. preceded by a colon (:).  These lines
  1748. are ignored when the batch file is
  1749. executed.
  1750.  
  1751. EXAMPLE:  :START^
  1752.           DIR^
  1753.           GOTO START^
  1754.  
  1755. will create a never ending loop of
  1756. directories printed to the screen.  Each
  1757. time GOTO START is encountered, the
  1758. routine starting at :START is executed.
  1759.  
  1760. GRAFTABL
  1761. COMMAND NAME:^  GRAFTABL
  1762.  
  1763. DESCRIPTION:^   Loads additional
  1764. foreign language characters into memory.
  1765. For use with the color graphics adapter.
  1766.  
  1767. COMMAND TYPE:^  External
  1768.  
  1769. VERSION:^   3.0 and up
  1770.  
  1771. USE:^  GRAFTABL
  1772.  
  1773. EXAMPLE:  GRAFTABL^
  1774.  
  1775. loads additional characters into memory
  1776. allowing them to be used in the graphics
  1777. mode.
  1778.  
  1779. NOTE:^  Beginning with DOS 3.3, there
  1780. are several extra options available with
  1781. GRAFTABL.
  1782.  
  1783. USE:^   
  1784.  
  1785. GRAFTABLE [437|860|863|865| /STATUS]
  1786.  
  1787. 437^   United States
  1788. 860^   Portugal
  1789. 863^   Canada (Fr.)
  1790. 865^   Norway and Denmark
  1791.  
  1792. /STATUS^ displays the number of the
  1793. selected country code page.
  1794.  
  1795. GRAPHICS
  1796. COMMAND NAME:^  GRAPHICS
  1797.  
  1798. DESCRIPTION:^   The GRAPHICS command
  1799. will make it possible to dump graphics
  1800. displays to the printer when the SHIFT
  1801. and PrtSc keys are pressed.  To work
  1802. properly, the printer must be a
  1803. compatible printer type.
  1804.  
  1805. COMMAND TYPE:^  External
  1806.  
  1807. VERSION:^   2.0 and up
  1808.  
  1809. USE:^  GRAPHICS [printer type][/R][/B]
  1810.  
  1811. printer type^ can be one of five types
  1812. of printers.
  1813.  
  1814. COLOR1^ - IBM Color Printer with a
  1815. black ribbon.
  1816.  
  1817. COLOR4^ - IBM Color Printer with red,
  1818. green, blue, and black ribbon.
  1819.  
  1820. COLOR8^ - IBM Color Printer with cyan,
  1821. magenta, yellow, and black ribbon.
  1822.  
  1823. COMPACT^ - IBM Compact printer.
  1824.  
  1825. GRAPHICS^ - IBM Graphics Printer.
  1826.  
  1827.  
  1828. /R^ to print black and white on the
  1829. printer as they are seen on the
  1830. monitor.  If you do not specify /R then
  1831. black will be printed as white and white
  1832. will be printed as black.
  1833.  
  1834. /B^ prints the background color.  This
  1835. switch is only valid on multi-color
  1836. printers.  The default is to not print
  1837. the background color.
  1838.  
  1839. In the high resolution modes the image
  1840. will be printed on the printer sideways.
  1841.  
  1842. EXAMPLE:  GRAPHICS GRAPHICS /R^
  1843.  
  1844. will load the drivers necessary to print
  1845. graphics to the IBM Graphics printer
  1846. displaying black as black and white as
  1847. white.
  1848.  
  1849. NOTE:^  Graphic screen dumps will take
  1850. longer than text screen dumps.  Text
  1851. screen dumps will still be possible
  1852. after the GRAPHICS command is executed.
  1853.  
  1854. IF
  1855. COMMAND NAME:^  IF
  1856.  
  1857. DESCRIPTION:^   Performs conditional
  1858. execution of commands.  If the condition
  1859. is met then then the command is 
  1860. executed.
  1861.  
  1862. COMMAND TYPE:^  Internal (batch)
  1863.  
  1864. VERSION:^   2.0 and up
  1865.  
  1866. USE:^  IF [NOT] condition command
  1867.  
  1868. If the condition is met then the command
  1869. will be executed.  If the condition is
  1870. not met then the command will be
  1871. ignored.
  1872.  
  1873. If the NOT^ parameter is entered, the
  1874. command is executed when the condition
  1875. is false.
  1876.  
  1877. command^ is the DOS command or program
  1878. to be executed when the condition is
  1879. met.
  1880.  
  1881. condition^ can be one of the 
  1882. following:
  1883.  
  1884.  
  1885.      ERRORLEVEL number^
  1886.      string1 == string2^
  1887.      EXIST filename^
  1888.  
  1889.  
  1890. ERRORLEVEL number^,  where number is
  1891. the exit code of the previously executed
  1892. program.  
  1893.  
  1894. The possible ERRORLEVEL numbers^ are:
  1895.  
  1896.  0 = Normal completion^
  1897.  1 = No files found^
  1898.  3 = Terminated by CTRL-BREAK or^
  1899.      ESCAPE^
  1900.  4 = Terminated because of error^
  1901.  
  1902. The ERRORLEVEL number condition will be
  1903. true if the last program executed has an
  1904. exit code equal to or greater than the
  1905. number specified.
  1906.  
  1907. string1 == string2^ is true if string1
  1908. and string2 are exactly identical.  An
  1909. uppercase character in one string must
  1910. be uppercase in the other string to be a
  1911. match.
  1912.  
  1913. EXIST filename^ is true if the
  1914. specified file exists.  A drive and path
  1915. may be specified.  
  1916.  
  1917.  
  1918. EXAMPLE:  IF EXIST DATA.DOC WRITE^
  1919.  
  1920. checks to see if the file DATA.DOC
  1921. exists.  If it does, then the command
  1922. WRITE.BAT will be executed.  If it
  1923. doesn't, then the command will be
  1924. ignored.
  1925.  
  1926. JOIN
  1927. COMMAND NAME:^  JOIN
  1928.  
  1929. DESCRIPTION:^   Logically links a disk
  1930. drive to a directory on another drive.
  1931.  
  1932. COMMAND TYPE:^  External
  1933.  
  1934. VERSION:^   3.1 and up
  1935.  
  1936. USE:^  JOIN
  1937.  
  1938.     or^
  1939.  
  1940. JOIN d: d:\directory
  1941.  
  1942.     or^
  1943.  
  1944. JOIN d: /D
  1945.  
  1946. d:^ specifies the drive to be JOINed
  1947. to a directory on another drive.
  1948.  
  1949. d:\directory^ specifies the directory
  1950. that the previous drive will be JOINed
  1951. to.
  1952.  
  1953. /D^ disconnects a previous JOIN.
  1954.  
  1955. JOIN entered with no parameters will
  1956. display the drives and directories that
  1957. are currently JOINed.
  1958.  
  1959. EXAMPLE:  JOIN A: C:\WORKAREA^
  1960.  
  1961. joins drive A: to the directory
  1962. C:\WORKAREA.
  1963.  
  1964. KEYB
  1965. COMMAND NAME:^  KEYB
  1966.  
  1967. DESCRIPTION:^   Loads a keyboard
  1968. program that replaces the keyboard
  1969. program resident in ROM BIOS to support
  1970. non U.S. English keyboards.
  1971.  
  1972. NOTE:^  The keyboard programs on
  1973. versions prior to DOS 3.3 are not
  1974. compatible and should not be executed
  1975. under DOS 3.3.
  1976.  
  1977. NOTE:^  KEYB^ which is available
  1978. starting with DOS 3.3 replaces KEYBxx^
  1979. which was available with earlier
  1980. versions.
  1981.  
  1982. COMMAND TYPE:^  External
  1983.  
  1984. VERSION:^  3.3 and up
  1985.  
  1986. USE:^  
  1987. KEYB [xx[,[yyy],[[d:][path]filename]]]
  1988.  
  1989. xx^ specifies the keyboard code as
  1990. shown below:
  1991.  
  1992.   UK  - United Kingdom^
  1993.   GR  - Germany^
  1994.   FR  - France^
  1995.   IT  - Italy^
  1996.   SP  - Spain^
  1997.  
  1998. yyy^ specifies the numeric code page
  1999. defining the character set as shown
  2000. below:
  2001.  
  2002. AUSTRALIA      061^
  2003. BELGIUM        032^
  2004. CANADA/FRENCH  002^
  2005. DENMARK        045^
  2006. FINLAND        358^
  2007. FRANCE         033^
  2008. GERMANY        049^
  2009. ITALY          039^
  2010. ISRAEL         972^
  2011. MIDDLE EAST    785^
  2012. NETHERLANDS    031^
  2013. NORWAY         047^
  2014. PORTUGAL       351^
  2015. SPAIN          034^
  2016. SWEDEN         046^
  2017. SWITZERLAND    041^
  2018. U. KINGDOM     044^
  2019. USA            001^
  2020.  
  2021. d: path filename^ specifies the drive,
  2022. path, and filename of the keyboard
  2023. definition file (KEYBOARD.SYS) to
  2024. support a country language.
  2025.  
  2026. After loading a keyboard driver, you may
  2027. change from the KEYB program to the US
  2028. program by pressing CTRL-ALT-F1^.  You
  2029. may switch back to the KEYB program by
  2030. pressing CTRL-ALT-F2^.
  2031.  
  2032. KEYBD.SYS
  2033. COMMAND NAME:^  KEYBOARD.SYS
  2034.  
  2035. The KEYBOARD.SYS file contains tables
  2036. which direct the KEYB.COM command to
  2037. convert scan codes to ASCII characters. 
  2038. To change a keyboard, the new keyboard
  2039. must support at least one of the
  2040. currently prepared code pages for the
  2041. CON device.  You can change the keyboard
  2042. without restarting the computer.  (For
  2043. example, the KEYB command can be used
  2044. multiple times.)
  2045.  
  2046. The MODE command is used to prepare the
  2047. new code pages required by the new
  2048. keyboard layout; only certain keyboards
  2049. or code page combinations are allowed. 
  2050. If a mismatch is created between
  2051. keyboard and display, character keys may
  2052. not be correctly translated into the
  2053. correct code page, and incorrect
  2054. characters may be displayed.
  2055.  
  2056. The following table shows the valid
  2057. combinations of code pages and
  2058. keyboards:
  2059. 
  2060. ┌───────┬──────────────────────────┐
  2061. │ CODE  │  KEYBOARD                │
  2062. │ PAGE  │                          │
  2063. ├───────┼──────────────────────────┤
  2064. │       │ US, UK, FR, GR, IT, SP,  │
  2065. │ 437   │ LA, SV, SU, NL           │
  2066. ├───────┼──────────────────────────┤
  2067. │       │ UK, FR, GR, IT, SP, DK,  │
  2068. │ 850   │ NL, SU, NO, PO, SV, SF,  │
  2069. │       │ SG, CF, BE, LA, US       │
  2070. ├───────┼──────────────────────────┤
  2071. │ 860   │ PO                       │
  2072. ├───────┼──────────────────────────┤
  2073. │ 863   │ CF                       │
  2074. ├───────┼──────────────────────────┤
  2075. │ 865   │ NO, DK                   │
  2076. └───────┴──────────────────────────┘
  2077. ^
  2078. The KEYB command creates translation
  2079. tables for each code page that has been
  2080. prepared at the time KEYB is used.  It
  2081. will activate the code page that has
  2082. been requested.  If a code page is
  2083. desired that is not in that list of
  2084. prepared code pages, it must be first
  2085. prepared and then KEYB should be issued
  2086. again.  Refer to the MODE command for
  2087. more information.
  2088.  
  2089. If a code page has been selected
  2090. previous to the KEYB command, and no
  2091. code page is specified in KEYB, it will
  2092. attempt to activate the selected code
  2093. page.
  2094.  
  2095. The KEYB command sets the following
  2096. ERRORLEVEL code:
  2097.  
  2098. 0^ - Successful execution and
  2099. termination.
  2100.  
  2101. 1^ - Invalid language, code page, or
  2102. syntax.
  2103.  
  2104. 2^ - Bad or missing keyboard
  2105. definition file.
  2106.  
  2107. 3^ - KEYB could not create a keyboard
  2108. table in resident memory.
  2109.  
  2110. 4^ - An error condition occurred when
  2111. communicating with the CON device.
  2112.  
  2113. 5^ - Code page request has not been
  2114. prepared.
  2115.  
  2116. 6^ - The translation table for
  2117. selected code page cannot be found in
  2118. the resident keyboard table.
  2119.  
  2120.  
  2121. KEYBxx
  2122. COMMAND NAME:^  KEYBxx
  2123.  
  2124. DESCRIPTION:^   Replaces the current
  2125. keyboard program with a program which
  2126. will support a foreign language
  2127. keyboard.
  2128.  
  2129. COMMAND TYPE:^  External
  2130.  
  2131. VERSION:^   3.0 and up
  2132.  
  2133. USE:^  KEYBxx
  2134.  
  2135. xx^ can be any one of the following:
  2136.  
  2137.   UK  - United Kingdom^
  2138.   GR  - Germany^
  2139.   FR  - France^
  2140.   IT  - Italy^
  2141.   SP  - Spain^
  2142.  
  2143. After loading a keyboard driver, you may
  2144. change from the KEYBxx program to the US
  2145. program by pressing CTRL-ALT-F1^.  You
  2146. may switch back to the KEYBxx program by
  2147. pressing CTRL-ALT-F2^.
  2148.  
  2149. You can automatically load a foreign
  2150. keyboard driver by using a diskette
  2151. created using the SELECT^ command.
  2152.  
  2153. EXAMPLE:  KEYBFR^
  2154.  
  2155. loads the driver necessary to support a
  2156. French keyboard.
  2157.  
  2158. LABEL
  2159. COMMAND NAME:^  LABEL
  2160.  
  2161. DESCRIPTION:^   Creates, modifies, or
  2162. deletes a diskette's volume label.
  2163.  
  2164. COMMAND TYPE:^  External
  2165.  
  2166. VERSION:^   3.0 and up
  2167.  
  2168. USE:^  LABEL [d:][volume label]
  2169.  
  2170. d:^ specifies the drive which contains
  2171. the diskette to be labeled.
  2172.  
  2173. volume label^ specifies the label to
  2174. be written on the disk.  A volume label
  2175. can be up to 11 characters long.  If you
  2176. do not specify a volume label when using
  2177. the LABEL command you will be prompted
  2178. for one.
  2179.  
  2180. EXAMPLE:  LABEL C:MYDISK^
  2181.  
  2182. will place the label MYDISK on drive
  2183. C:.
  2184.  
  2185. LASTDRIVE
  2186. COMMAND NAME:^  LASTDRIVE
  2187.  
  2188. DESCRIPTION:^   Specifies the maximum
  2189. number of drives accessible by DOS.
  2190.  
  2191. COMMAND TYPE:^  System Configuration
  2192.  
  2193. VERSION:^   3.0 and up
  2194.  
  2195. USE:^  LASTDRIVE = x
  2196.  
  2197. x^ can be any letter from A through Z.
  2198.  
  2199. The letter that you enter will represent
  2200. the last drive available in the system.
  2201.  
  2202. If you enter a letter which is less than
  2203. the total number of drives on your
  2204. system, the LASTDRIVE command will be
  2205. ignored.
  2206.  
  2207. EXAMPLE:  LASTDRIVE = C^
  2208.  
  2209. sets the last drive in the system as
  2210. drive C:.
  2211.  
  2212. NOTE:^  This command must be placed in
  2213. the CONFIG.SYS file and is not a normal
  2214. DOS command.
  2215.  
  2216. MKDIR
  2217. COMMAND NAME:^  MKDIR
  2218.  
  2219. DESCRIPTION:^   Creates a sub-
  2220. directory.
  2221.  
  2222. COMMAND TYPE:^  Internal
  2223.  
  2224. VERSION:^   2.0 and up
  2225.  
  2226. USE:^  MKDIR [d:]path
  2227.  
  2228.     or^
  2229.  
  2230. MD [d:]path
  2231.  
  2232. d: path^ specifies the drive and path
  2233. where the subdirectory will be located.
  2234.  
  2235. Path must be 63 characters long or
  2236. less.
  2237.  
  2238. EXAMPLE:  MKDIR \DOS^
  2239.             or^
  2240.           MD \DOS^
  2241.  
  2242. creates the subdirectory DOS directly
  2243. under the root directory.
  2244.  
  2245. MODE
  2246. COMMAND NAME:^  MODE
  2247.  
  2248. DESCRIPTION:^   Sets the mode of
  2249. operation for a printer, asynchronous
  2250. adapter, or graphics monitor.  It also
  2251. can redirect parallel printer output to
  2252. the asynchronous adapter.
  2253.  
  2254. COMMAND TYPE:^  External
  2255.  
  2256. VERSION:^   2.0 and up
  2257.  
  2258. USE:^  MODE LPT#[:][n][,[m][,P]]
  2259.  
  2260.     or^
  2261.  
  2262. MODE n
  2263.  
  2264.     or^
  2265.  
  2266. MODE [n] ,m [,T]
  2267.  
  2268.     or^
  2269.  
  2270. MODE COMn[:]baud[,[parity][,[databits]
  2271.      [,[stopbits][,P]]]]
  2272.  
  2273.     or^
  2274.  
  2275. MODE LPT#[:] = COMn:
  2276.  
  2277.  
  2278.  
  2279. EXAMPLE # 1  -  Printer^
  2280.  
  2281. MODE LPT#[:][n][,[m[,P]]
  2282.  
  2283. LPT#^ represents the printer number
  2284.  
  2285. n^ specifies either 80 or 132 
  2286. characters per line
  2287.  
  2288. m^ specifies 6 or 8 lines per inch
  2289.  
  2290. P^ tells your computer to continue
  2291. trying to print when time-out errors
  2292. occur
  2293.  
  2294. EXAMPLE:  MODE LPT1:80,8^
  2295.  
  2296. sets line printer number 1 to 80
  2297. characters per line and 8 lines per
  2298. inch.
  2299.  
  2300.  
  2301.  
  2302. EXAMPLE # 2  -  Monitor^
  2303.  
  2304. MODE n
  2305.  
  2306.   or^
  2307.  
  2308. MODE [n],m[,T]
  2309.  
  2310. n^ is one of the following options
  2311. describing the monitor attached.
  2312.  
  2313. 40^ specifies a screen width of 40
  2314. characters (Color graphics adapter only)
  2315.  
  2316. 80^ specifies a screen width of 80
  2317. characters (Color graphics adapter only)
  2318.  
  2319. BW40^ disables the color on a color
  2320. monitor and sets the screen width to 40
  2321. characters
  2322.  
  2323. BW80^ disables the color on a color
  2324. monitor and sets the screen width to 80
  2325. characters
  2326.  
  2327. CO40^ enables the color on a color
  2328. monitor and sets the screen width to 40
  2329. characters
  2330.  
  2331. CO80^ enables the color on a color
  2332. monitor and sets the screen width to 80
  2333. characters
  2334.  
  2335. MONO^ selects the monochrome monitor
  2336. to be the active monitor
  2337.  
  2338. m^ shifts the display left or right. 
  2339. L for left and R for right.
  2340.  
  2341. T^ displays a test pattern to help
  2342. align the screen when shifting it left
  2343. or right.
  2344.  
  2345. EXAMPLE:  MODE CO80^
  2346.  
  2347. selects the color monitor, enables
  2348. color, and sets the monitor to 80
  2349. characters per line.
  2350.  
  2351. MODE is continued on the next page. 
  2352. Press CTRL-PgDn^ to display the next
  2353. page.
  2354.  
  2355. MODE
  2356.  
  2357. Continued from the previous page.  Press
  2358. CTRL-PgUp^ to display the previous
  2359. page.
  2360.  
  2361.  
  2362. EXAMPLE #3  -  Asynchronous Adapter^
  2363.                   (Serial Port)^
  2364.  
  2365. MODE COMn[:]baud[,parity[,databits
  2366.      [,stopbits[,P]]]]
  2367.  
  2368. COMn^ is the asynchronous adapter to
  2369. select.  The acceptable values are 1 or
  2370. 2.
  2371.  
  2372. baud^ selects the speed that the
  2373. asynchronous adapter will operate at. 
  2374. The acceptable values are:
  2375.  
  2376. 110, 150, 300, 600, 1200, 2400, 4800,
  2377. and 9600.
  2378.  
  2379. You may abbreviate the baud rate by
  2380. using the first two digits.
  2381.  
  2382. parity^ can be N (none), O (odd), or E
  2383. (even).
  2384.  
  2385. databits^ can be either 7 or 8.
  2386.  
  2387. stopbits^ can be either 1 or 2.
  2388.  
  2389. P^ indicates that the asynchronous
  2390. adapter will be connected to a printer.
  2391.  
  2392. EXAMPLE:  MODE COM1:96,N,8,1,P^
  2393.  
  2394. selects asynchronous port #1 and sets it
  2395. for 9600 baud, no parity, 8 databits, 1
  2396. stopbit, and sets it to be used with a
  2397. printer.
  2398.  
  2399.  
  2400.  
  2401. EXAMPLE #4  -  Redirecting Parallel^
  2402. Printer Output to an Asynchronous^
  2403. Adapter.^
  2404.  
  2405. MODE LPT#[:] = COMn
  2406.  
  2407. LPT#^ is the parallel port number to
  2408. be redirected.
  2409.  
  2410. COMn^ is the asynchronous adapter that
  2411. the output will be redirected to.
  2412.  
  2413. EXAMPLE:  MODE LPT1: = COM1^
  2414.  
  2415. redirects output from LPT1 to COM1.  Any
  2416. future attempts to print to LPT1 will be
  2417. automatically routed to COM1.
  2418.  
  2419. NOTE:^  You must initialize the
  2420. asynchronous adapter (using example 3)
  2421. before redirecting output.
  2422.  
  2423. MODE is continued on the next page. 
  2424. Press CTRL-PgDn^ to display the next
  2425. page.
  2426.  
  2427. MODE
  2428.  
  2429. Continued from the previous page.  Press
  2430. CTRL-PgUp^ to display the previous
  2431. page.
  2432.  
  2433. This section of the MODE command covers
  2434. commands available with DOS 3.3 and
  2435. later versions.
  2436.  
  2437. COMMAND NAME:^  MODE
  2438.  
  2439. DESCRIPTION:^   Sets up and controls
  2440. code page switching.
  2441.  
  2442. COMMAND TYPE:^  External
  2443.  
  2444. USE:^
  2445.  
  2446. MODE device CODEPAGE PREPARE = 
  2447. ((cp) [d:][path]filename)
  2448.  
  2449.      or
  2450.  
  2451. MODE device CODEPAGE PREPARE =
  2452. ((cplist) [d:][path]filename)
  2453.  
  2454.      or
  2455.  
  2456. MODE device CODEPAGE SELECT = cp
  2457.  
  2458.      or
  2459.  
  2460. MODE device CODEPAGE [/STATUS]
  2461.   
  2462.      or
  2463.  
  2464. MODE device CODEPAGE REFRESH
  2465.  
  2466. NOTE:^  
  2467. CODEPAGE can be shortened to CP
  2468. PREPARE can be shortened to PREP
  2469. SELECT can be shortened to SEL
  2470. REFRESH can be shortened to REF
  2471. STATUS can be shortened to STA
  2472.  
  2473.  
  2474.    To Prepare Code Pages^
  2475.  
  2476. MODE device CODEPAGE PREPARE = 
  2477. ((cp) [d:][path]filename)
  2478.  
  2479.      or
  2480.  
  2481. MODE device CODEPAGE PREPARE =
  2482. ((cplist) [d:][path]filename)
  2483.  
  2484. device^ specifies one of CON, PRN,
  2485. LPT1, LPT2, or LPT3.
  2486.  
  2487. cp^ specifies one code page number.
  2488.  
  2489. cplist^ specifies a list of code
  2490. pages.  The code page must be of the
  2491. following values, 437, 850, 860, 863,
  2492. 865.
  2493.  
  2494. If a cplist is a list of code pages, the
  2495. code pages must be enclosed in
  2496. parentheses ().
  2497.  
  2498. d: path filename^ specifies the name
  2499. of the file containing the code pages. 
  2500. The code page information files provided
  2501. on the DOS start up diskette have the
  2502. extension of CPI.
  2503. 
  2504. 4201.CPI - IBM PROPINTER
  2505. 5202.CPI - IBM QUIETWRITER III
  2506. EGA.CPI  - EGA DEVICES
  2507. LCD.CPI  - IBM CONVERTIBLE LCD
  2508. ^
  2509. EXAMPLE:^
  2510. 
  2511. MODE LPT1 CP PREP=((850,,863) 4201.CPI
  2512. ^
  2513. This example specifies the first code
  2514. page of 850, the second code page
  2515. remains the same as was previously
  2516. prepared for LPT1, the third code page
  2517. is specified as 863, and the character
  2518. shapes for IBM Proprinter Model 4201 is
  2519. specified.
  2520.  
  2521.    Select or Activate a CODE PAGE^
  2522.  
  2523. MODE device CODEPAGE SELECT = cp
  2524.  
  2525. cp^ identifies the code page to be
  2526. activated.  Choose one of the following
  2527. codes: 437, 850, 860, 863, 865.  The
  2528. value of cp must be one found in the
  2529. list prepared by the previous option.
  2530.  
  2531.  
  2532.     Display the active CODE PAGE^
  2533.  
  2534. MODE device CODEPAGE [/STATUS]
  2535.  
  2536. The active code page and a list of
  2537. selectable code pages for an active
  2538. device such as CON: or LPT#: is
  2539. displayed.
  2540.  
  2541.       Refresh a CODE PAGE^  
  2542.      
  2543. MODE device CODEPAGE REFRESH
  2544.  
  2545. This command re-establishes the active
  2546. code page if it has been lost.  Code
  2547. pages can be lost in different ways. 
  2548. One way is to turn off the printer. 
  2549. After turning a printer off and back on,
  2550. a printer may have a different active
  2551. code page than the active code page
  2552. maintained by the printer driver.  It is
  2553. then necessary to do a refresh command
  2554. to get back the original active code
  2555. page.
  2556.  
  2557. EXAMPLE:^  
  2558. 
  2559. MODE LPT1 CP PREP=(860) C:\DOS\4201.CPI
  2560. MODE LPT1 CP REFRESH
  2561. ^
  2562. MORE
  2563. COMMAND NAME:^  MORE
  2564.  
  2565. DESCRIPTION:^   Filters input and
  2566. displays it one screen at a time.  The
  2567. message 'MORE' will appear if more data
  2568. is available.
  2569.  
  2570. COMMAND TYPE:^  External
  2571.  
  2572. VERSION:^   2.0 and up
  2573.  
  2574. USE:^  MORE
  2575.  
  2576. This filter is usually used in
  2577. conjunction with the | (pipe).  The pipe
  2578. is used to send the output from a
  2579. command and send it to another to be
  2580. processed.
  2581.  
  2582. EXAMPLE:  DIR | MORE^
  2583.  
  2584. The output from DIR will be piped to
  2585. MORE and will be displayed one screen at
  2586. a time.
  2587.  
  2588. NLSFUNC
  2589. COMMAND NAME:^  NLSFUNC
  2590.  
  2591. DESCRIPTION:^   NLSFUNC provides
  2592. support for extended country information
  2593. and allows you to use the CHCP command
  2594. to select code pages for all devices
  2595. defined as having code page switching
  2596. support.  NLSFUNC must be loaded prior
  2597. to using the CHCP command.
  2598.  
  2599. COMMAND TYPE:^  External
  2600.  
  2601. VERSION:^  3.3 and up
  2602.  
  2603. USE:^  NLSFUNC [[d:][path]filename]
  2604.  
  2605. d:path filename^ specifies the
  2606. location and name of the country
  2607. information file (COUNTRY.SYS).  If this
  2608. parameter is omitted, the drive path and
  2609. filename defined by COUNTRY= command in
  2610. the CONFIG.SYS file are used.  The file
  2611. name must be included if drive or path
  2612. are specified.
  2613.  
  2614. EXAMPLE:^  NLSFUNC C:\DIR1\COUNTRY.SYS
  2615.  
  2616. This example loads the NLSFUNC command
  2617. and specifies the location of the
  2618. COUNTRY.SYS file in a directory called
  2619. DIR1.
  2620.  
  2621.  
  2622. PATH
  2623. COMMAND NAME:^  PATH
  2624.  
  2625. DESCRIPTION:^   Sets the path of
  2626. directories that DOS will search when
  2627. a command is not found in the current
  2628. directory.
  2629.  
  2630. COMMAND TYPE:^  Internal
  2631.  
  2632. VERSION:^   2.0 and up
  2633.  
  2634. USE:^  PATH [[d:]path[[;[d:]
  2635.       path]...]]]
  2636.  
  2637. d: path; d: path;...^ define the paths
  2638. that DOS will search for commands and
  2639. programs.
  2640.  
  2641. PATH will only find files that can be
  2642. executed, such as .COM, .EXE, and .BAT.
  2643.  
  2644. EXAMPLE:  PATH C:\DOS;C:\BASIC^
  2645.  
  2646. After the above command has been
  2647. entered, assume we enter the command
  2648. TREE.  DOS will first search the current
  2649. directory.  If it doesn't find the
  2650. command in the current directory, it
  2651. will search the directory C:\DOS.  If
  2652. TREE is found in the C:\DOS directory
  2653. then it will be executed.  If it is not
  2654. found, then the search will be continued
  2655. until the command TREE is found or until
  2656. all directories have been searched.
  2657.  
  2658. PAUSE
  2659. COMMAND NAME:^  PAUSE
  2660.  
  2661. DESCRIPTION:^   Suspends execution of
  2662. a batch file until a key is pressed.
  2663.  
  2664. COMMAND TYPE:^  Internal (batch)
  2665.  
  2666. VERSION:^   2.0 and up
  2667.  
  2668. USE:^  PAUSE [comment]
  2669.  
  2670. comment^ is an optional comment that
  2671. may be entered.  It will be displayed
  2672. when PAUSE is executed.
  2673.  
  2674. EXAMPLE:  PAUSE Make sure that 
  2675.           your printer is on.^
  2676.  
  2677. When this PAUSE command is executed, the
  2678. following message will appear.
  2679.  
  2680. Make sure that your printer is on.^
  2681. Strike a key when ready...^
  2682.  
  2683. The message Strike a key when ready^
  2684. is automatically displayed whenever the
  2685. PAUSE command is used.
  2686.  
  2687. PRINT
  2688. COMMAND NAME:^  PRINT
  2689.  
  2690. DESCRIPTION:^   Prints text (ASCII)
  2691. files in the background mode. 
  2692.  
  2693. COMMAND TYPE:^  External 
  2694.  
  2695. VERSION:^   2.0 and up
  2696.  
  2697. USE:^  PRINT [/D: device] 
  2698.       [/B:buffersize] [/U:busytick] 
  2699.       [/M:maxtick] [/S:timeslice]
  2700.       [/Q:quesize][/C][/T][/P] [[d:]
  2701.       [path][filename]...]
  2702.  
  2703. /D:device^ specifies the device to
  2704. PRINT to.
  2705.  
  2706. /B:buffersize^ specifies the size of
  2707. the buffer (in bytes).
  2708.  
  2709. /U:busytick^ specifies the number of
  2710. clockticks that PRINT will wait while
  2711. the print device is busy or unavailable.
  2712.  
  2713. /M:maxtick^ specifies the number of
  2714. ticks that PRINT can have to print to
  2715. the print device.  Values from 1 to 255
  2716. will be accepted.
  2717.  
  2718. /S:timeslice^ specifies the time-slice
  2719. value. Values from 1 to 255 will be
  2720. accepted.
  2721.  
  2722. /Q:quesize^ specifies the number of
  2723. PRINT files that may be in the queue. 
  2724. Values from 1 to 32 are acceptable.
  2725.  
  2726. /C^ selects the cancel mode.
  2727.  
  2728. /T^ terminates the entire PRINT 
  2729. procedure.  All files currently being
  2730. PRINTed will be cancelled.
  2731.  
  2732. /P^ sets the print mode.  The preced-
  2733. ing filename and any files following /P
  2734. will be added to the PRINT queue.
  2735.  
  2736. d: path filename...^ is a list of
  2737. files to PRINT.
  2738.  
  2739.  
  2740. EXAMPLE: PRINT TEST.* /C^
  2741.  
  2742. will cancel all files with a filename of
  2743. test from the print queue.
  2744.  
  2745.  
  2746. EXAMPLE: PRINT TEST.DOC /C T.DOC /P^
  2747.  
  2748. cancels TEST.DOC and adds T.DOC to
  2749. the print queue.
  2750.  
  2751. PRINTER.SYS
  2752. COMMAND NAME:^  PRINTER.SYS
  2753.  
  2754. DESCRIPTION:^   Allows you to use code
  2755. page switching on the IBM Proprinter
  2756. Model 4201 and IBM Quietwriter III
  2757. Printer Model 5202.
  2758.  
  2759. USE:^  DEVICE=[d:][path][PRINTER.SYS
  2760. LPT#[:] = (type[,[hwcp][,n]])
  2761.  
  2762. DEVICE=[d:][path][PRINTER.SYS LPT#[:] =
  2763. (type[,[(hwcp1, hwcp2,...)][,n]])
  2764.  
  2765. LPT#^ specifies the printer device and
  2766. can be entered up to three times, one
  2767. for printers LPT1, LPT2, and LPT3.  The
  2768. device name PRN may be used in place of
  2769. LPT1.
  2770.  
  2771. type^ specifies one of the following
  2772. printer types:
  2773. 
  2774.   IBM Proprinter Model 4201
  2775.   IBM Quietwriter III Model 5202
  2776. ^
  2777.  
  2778. hwcp^ specifies the code page image
  2779. built into the hardware (437, 850, 860,
  2780. 863, or 865).
  2781.  
  2782. For the IBM Quietwriter III Model 5202,
  2783. the hwcp can be one code page, such as
  2784. 437, or it can be a pair of code pages,
  2785. such as (437,850).  For the IBM
  2786. Quietwriter III Model 5202, if two
  2787. hardware code pages have been specified,
  2788. then no code pages can be prepared, and
  2789. the value of n must equal zero.
  2790.  
  2791. n specifies the number of additional
  2792. code pages that can be prepared.  The
  2793. value of n determines the number of
  2794. buffers PRINTER.SYS will set up to hold
  2795. code pages being prepared.  The maximum
  2796. number of code pages that can be
  2797. prepared is 12.
  2798.  
  2799. The IBM Proprinter Model 4201 holds its
  2800. hardware code page in ROM.  When the IBM
  2801. Proprinter Model 4201 is started, it
  2802. copies the ROM code page into a RAM area
  2803. in the printer.
  2804.  
  2805. EXAMPLE:  DEVICE=PRINTER.SYS LPT1:=
  2806. (4201, 437, 1) LPT2:=(5202, 437, 0)
  2807. ^
  2808. This example installs the code page
  2809. switching for the LPT1: and LPT2:
  2810. devices.  It instructs the LPT1: driver
  2811. that the printer is a IBM Proprinter
  2812. Model 4201 and the LPT2: driver that the
  2813. printer is an IBM Quietwriter III Model
  2814. 5202.  Both printers have the 437 code
  2815. page built in.  The LPT1: driver is abel
  2816. to hold one code page prepared by the
  2817. MODE command, while the LPT2: driver can
  2818. have one code page prepared.
  2819.  
  2820.  
  2821. PROMPT
  2822. COMMAND NAME:^  PROMPT
  2823.  
  2824. DESCRIPTION:^   Changes the DOS
  2825. prompt.
  2826.  
  2827. COMMAND TYPE:^  Internal
  2828.  
  2829. VERSION:^   2.0 and up
  2830.  
  2831. USE:^  PROMPT [prompt-text]
  2832.  
  2833. prompt-text^ may be a text message or
  2834. one of several special characters.  
  2835.  
  2836. The special characters are listed below
  2837. along with the prompt that they will
  2838. display.
  2839.  
  2840. $t -  system time^
  2841. $d -  system date^
  2842. $p -  current directory^
  2843. $v -  version number^
  2844. $n -  default drive letter^
  2845. $g -  >^
  2846. $l -  <^
  2847. $b -  |^
  2848. $q -  =^
  2849. $h -  BACKSPACE^
  2850. $e -  ESCAPE^
  2851. $_ -  perform a carriage return and^
  2852.       line feed^
  2853.  
  2854. EXAMPLE:  PROMPT TEST^
  2855.  
  2856. will set the DOS prompt line to TEST.
  2857.  
  2858.  
  2859. EXAMPLE:  PROMPT $p$g^
  2860.  
  2861. will cause the prompt line to display
  2862. the current directory and the >^ 
  2863. character.
  2864.  
  2865. RECOVER
  2866. COMMAND NAME:^  RECOVER
  2867.  
  2868. DESCRIPTION:^   Recovers a file or
  2869. complete disk that contains bad sectors.
  2870.  
  2871. COMMAND TYPE:^  External
  2872.  
  2873. VERSION:^   2.0 and up
  2874.  
  2875. USE:^  RECOVER [d:][path]filename
  2876.          
  2877.     or^
  2878.  
  2879. RECOVER d:
  2880.  
  2881. d: path filename^  specifies
  2882. the drive, path, and filename of the
  2883. file or files that you wish to
  2884. recover.
  2885.  
  2886. The second format, RECOVER d:^ will
  2887. recover all files on a disk.
  2888.  
  2889. Individually recovered files will simply
  2890. be written over the old file (without
  2891. the defective sectors).
  2892.  
  2893. NOTE:^  When you recover an entire
  2894. disk, all files will be renamed and the
  2895. files which have been recovered will be
  2896. named in the following manner.
  2897.  
  2898.             FILEnnnn.REC^
  2899.  
  2900. nnnn^ is a sequential number starting
  2901. at 001.
  2902.  
  2903. EXAMPLE:  RECOVER A:^
  2904.  
  2905. recovers all files on drive A: renaming
  2906. them with the FILEnnnn.REC naming
  2907. convention.
  2908.  
  2909. REM
  2910. COMMAND NAME:^  REM
  2911.  
  2912. DESCRIPTION:^   Displays a remark
  2913. during the execution of a batch file.
  2914.  
  2915. COMMAND TYPE:^  Internal (batch)
  2916.  
  2917. VERSION:^   2.0 and up
  2918.  
  2919. USE:^  REM [comment]
  2920.  
  2921. A comment^ is generally used in a
  2922. batch file to display messages during 
  2923. execution.
  2924.  
  2925. EXAMPLE:  REM This is a test!^
  2926.  
  2927. will display the message:
  2928.   
  2929.           REM This is a test!^
  2930.  
  2931. REN[AME]
  2932. COMMAND NAME:^  REN[AME]
  2933.  
  2934. DESCRIPTION:^   Renames a file (or
  2935. group of files).  REN is the abbreviated
  2936. form of RENAME.  REN and RENAME are the
  2937. same command.  Wildcard characters ? and
  2938. * are allowed in the filenames.
  2939.  
  2940. COMMAND TYPE:^  Internal
  2941.  
  2942. VERSION:^   2.0 and up
  2943.  
  2944. USE:^  REN[AME] [d:][path] filename
  2945.       filename
  2946.  
  2947. d: path filename^ specifies the
  2948. file(s) to be RENAMEd.
  2949.  
  2950. The second filename^ is the new name
  2951. for the file(s).
  2952.  
  2953. EXAMPLE:  REN TEST TEST1.DAT^
  2954.  
  2955. changes the name of the file TEST to
  2956. TEST1.DAT.
  2957.  
  2958. REPLACE
  2959. COMMAND NAME:^  REPLACE
  2960.  
  2961. DESCRIPTION:^   Replaces files on a
  2962. disk or adds files to a disk.  REPLACE
  2963. is very similar to COPY, but several
  2964. additional options are available with
  2965. REPLACE.
  2966.  
  2967. COMMAND TYPE:^  External
  2968.  
  2969. VERSION:^  3.2 and up
  2970.  
  2971. USE:^  REPLACE [d:][path]filename
  2972.       [d:][path][/A][/P][/R][/S][/W]
  2973.  
  2974. d: path filename^ specifies the
  2975. filenames on the source disk that will
  2976. replace the files on the destination
  2977. disk.
  2978.  
  2979. d: path^ specifies the destination
  2980. drive and directory of the files that
  2981. are to be replaced.
  2982.  
  2983. /A^ causes REPLACE to copy only the
  2984. files that do not already exist on the
  2985. destination disk.
  2986.  
  2987. /P^ causes REPLACE to ask you whether
  2988. or not you want to replace each file. 
  2989. You will be prompted as each file is
  2990. copied.
  2991.  
  2992. /R^ causes REPLACE to replace the read
  2993. only files.
  2994.  
  2995. /S^ causes REPLACE to search all 
  2996. subdirectories on the destination disk
  2997. for matching files.  Matching files
  2998. found in any subdirectory will be
  2999. REPLACEd.  /S and /A can not be used
  3000. together.
  3001.  
  3002. /W^ causes REPLACE to wait for you to
  3003. insert a disk.
  3004.  
  3005. EXAMPLE:  REPLACE TEST.DAT C:\ /S^
  3006.  
  3007. REPLACE will replace any copy of the
  3008. file TEST.DAT in any and all directories
  3009. on drive C: with the copy on drive A:
  3010. (the default drive).
  3011.  
  3012. RESTORE
  3013. COMMAND NAME:^  RESTORE
  3014.  
  3015. DESCRIPTION:^   Restores backed up
  3016. files from one disk to another. 
  3017.  
  3018. COMMAND TYPE:^  External
  3019.  
  3020. VERSION:^   2.0 and up
  3021.  
  3022. USE:^  RESTORE d: [d:][path] filename
  3023.       [/S][/P][/B:mm:dd:yy][/A:mm:dd:yy]
  3024.       [/M][/N][/L:time] [/E:time]
  3025.  
  3026. d:^ specifies the drive that contains
  3027. the backed up files (files created using
  3028. the BACKUP command).
  3029.  
  3030. d: path filename^ specifies the
  3031. names of the files that you want to
  3032. restore and where you want to put them.
  3033.  
  3034. /S^ restores the files in all sub-
  3035. directories.  If /S is not specified,
  3036. only the current directory is restored.
  3037.  
  3038. /P^ causes RESTORE to prompt you
  3039. before restoring files that have changed
  3040. since they were backed up.  /P will also
  3041. cause RESTORE to prompt you before it
  3042. restores a read-only file.
  3043.  
  3044. EXAMPLE:  RESTORE A: C:\*.* /S^
  3045.  
  3046. will restore all files on drive A: 
  3047. (which had previously been backed up
  3048. using BACKUP) to drive C:.  All 
  3049. subdirectories will be restored.
  3050.  
  3051. NOTE:^  The following options /B,
  3052. /A, /M, /N, /L, and /E^ are new to DOS
  3053. 3.3.  Do not attempt to use them with
  3054. earlier versions.
  3055.  
  3056. /B:mm-dd-yy^ restores all files
  3057. modified on or before the date specified
  3058. by mm-dd-yy.
  3059.  
  3060. /A:mm-dd-yy^ restores all files
  3061. modified on or after the date by mm-dd-
  3062. yy.
  3063.  
  3064. /M^ restores files modified or deleted
  3065. since they were backed up.
  3066.  
  3067. /N^ restores files that no longer
  3068. exist on the target disk.
  3069.  
  3070. /L:time^ restores only those files
  3071. that were modified at or later than the
  3072. given time.
  3073.  
  3074. /E:time^ restores only those files
  3075. that were modified at or earlier than
  3076. the given time.
  3077.  
  3078. RMDIR
  3079. COMMAND NAME:^  RMDIR
  3080.  
  3081. DESCRIPTION:^   Removes a sub-
  3082. directory.
  3083.  
  3084. COMMAND TYPE:^  Internal
  3085.  
  3086. VERSION:^   2.0 and up
  3087.  
  3088. USE:^  RMDIR [d:]path
  3089.  
  3090.     or^
  3091.  
  3092. RD [d:]path
  3093.  
  3094. d: path^ specifies the subdirectory
  3095. to remove.
  3096.  
  3097. The subdirectory to be removed must be
  3098. empty or RMDIR will not be allowed.
  3099.  
  3100. EXAMPLE:  RD C:\DOS^
  3101.  
  3102. removes the subdirectory \DOS from drive
  3103. C:.
  3104.  
  3105. SELECT
  3106. COMMAND NAME:^  SELECT
  3107.  
  3108. DESCRIPTION:^   Installs DOS on a new
  3109. disk.  Also installs the keyboard and
  3110. country codes.  CAUTION!!!^  This
  3111. command formats the disk.
  3112.  
  3113. COMMAND TYPE:^  External
  3114.  
  3115. VERSION:^   3.0 and up
  3116.  
  3117. USE:^  SELECT [[A:| B:] D:[path]] xxx
  3118.       yy
  3119.  
  3120. [A:| B:]^ specifies either drive A or
  3121. drive B as the source drive.  The only
  3122. valid choices are A or B.  If you do not
  3123. specify a source drive, drive A will be
  3124. used.  The source drive should contain a
  3125. DOS diskette.
  3126.  
  3127. D: path^ selects the drive and path
  3128. that the DOS files will be copied to. 
  3129. If no drive is specified, drive B will
  3130. be used.  If no path is specified, the
  3131. files will be copied to the root
  3132. directory.
  3133.  
  3134. xxx^ specifies the country code. 
  3135. Country code tells DOS two things.  It
  3136. tells DOS which date and time format to
  3137. use and it tells DOS which currency
  3138. symbol to use.
  3139.  
  3140. yy^ selects the keyboard code.
  3141.  
  3142. The following table shows the available
  3143. country and keyboard codes.
  3144.  
  3145.  
  3146.              COUNTRY   KEYBOARD^
  3147.                CODE      CODE^
  3148.  
  3149. AUSTRALIA      061        *^
  3150. BELGIUM        032        *^
  3151. CANADA/FRENCH  002        *^
  3152. DENMARK        045        *^
  3153. FINLAND        358        *^
  3154. FRANCE         033        FR^
  3155. GERMANY        049        GR^
  3156. ITALY          039        IT^
  3157. ISRAEL         972        *^
  3158. MIDDLE EAST    785        *^
  3159. NETHERLANDS    031        *^
  3160. NORWAY         047        *^
  3161. PORTUGAL       351        *^
  3162. SPAIN          034        SP^
  3163. SWEDEN         046        *^
  3164. SWITZERLAND    041        *^
  3165. U. KINGDOM     044        UK^
  3166. USA            001        US^
  3167.  
  3168. *^ The keyboard routine may be
  3169. supplied on a separate diskette, or you
  3170. may choose any keyboard routine by using
  3171. the KEYBxx command.
  3172.  
  3173. EXAMPLE:  SELECT A: C:\ 034 SP^
  3174.  
  3175. performs the SELECT command using drive
  3176. A: as the source drive and drive C: as
  3177. the destination drive.  It also selects
  3178. COUNTRY code 034 (Spain) and KEYBOARD
  3179. code SP (Spanish).
  3180.  
  3181. SET
  3182. COMMAND NAME:^  SET
  3183.  
  3184. DESCRIPTION:^   Sets the command 
  3185. processor's environment or displays the
  3186. current settings.  Application programs
  3187. and commands may inspect the environment
  3188. string.
  3189.  
  3190. COMMAND TYPE:^  Internal
  3191.  
  3192. VERSION:^   2.0 and up
  3193.  
  3194. USE:^  SET [name=[parameter]]
  3195.  
  3196. If you enter SET with no parameters, the
  3197. current settings will be displayed.  If
  3198. you enter SET and name with no
  3199. parameter, then the current setting for
  3200. name will be deleted from the current
  3201. environment.
  3202.  
  3203. EXAMPLE:  SET look_in=C:\datadir^
  3204.  
  3205. after this command has been executed, an
  3206. application program could examine the
  3207. environment string and determine that
  3208. look_in has been set equal to
  3209. C:\datadir.  This information might be
  3210. used by the application program to
  3211. locate files that it needed.
  3212.  
  3213. SHARE
  3214. COMMAND NAME:^  SHARE
  3215.  
  3216. DESCRIPTION:^   Loads extra support
  3217. for file sharing.  This command is
  3218. used primarily by network applications.
  3219.  
  3220. COMMAND TYPE:^  External
  3221.  
  3222. VERSION:^   3.0 and up
  3223.  
  3224. USE:^  SHARE [/F: filespace]
  3225.       [/L: locks]
  3226.  
  3227. /F: filespace^ allocates file space in
  3228. bytes for the area used to record
  3229. information necessary for file sharing.
  3230.  
  3231. /L: locks^ allocates space for the
  3232. number of locks that you want.
  3233.  
  3234. EXAMPLE:  SHARE^
  3235.  
  3236. loads file sharing support.  The default
  3237. values of 2048 bytes for filespace
  3238. (/F: filespace) and 20 locks (/L: locks)
  3239. will be used.
  3240.  
  3241. SHELL
  3242. COMMAND NAME:^  SHELL
  3243.  
  3244. DESCRIPTION:^   Allows another command
  3245. processor to be used in place of
  3246. COMMAND.COM.
  3247.  
  3248. COMMAND TYPE:^  System Configuration
  3249.  
  3250. VERSION:^   2.0 and up
  3251.  
  3252. USE:^  SHELL = [d:][path] filename
  3253.       [parm1][parm2]
  3254.  
  3255. d: path filename^ specifies the file
  3256. that will be loaded in place of 
  3257. COMMAND.COM.
  3258.  
  3259. NOTE:^  This command must be placed in
  3260. the CONFIG.SYS file and is not a normal
  3261. DOS command.
  3262.  
  3263. SHIFT
  3264. COMMAND NAME:^  SHIFT
  3265.  
  3266. DESCRIPTION:^   Allows use of more
  3267. than 10 replaceable parameters within a
  3268. batch file.
  3269.  
  3270. COMMAND TYPE:^  Internal (batch)
  3271.  
  3272. VERSION:^   2.0 and up
  3273.  
  3274. USE:^  SHIFT
  3275.  
  3276. When more than one replaceable parameter
  3277. is used, SHIFT will shift the parameter
  3278. list one position to the left.  
  3279.  
  3280. EXAMPLE:^  Assume that there is a
  3281. batch file called COPYFILE.BAT that
  3282. copies files from one drive to another.
  3283.  
  3284. Also assume that it uses 4 replaceable
  3285. parameters, %0, %1, %2, and %3.  If you
  3286. invoke COPYFILE.BAT using the
  3287. replaceable parameters:
  3288.  
  3289.     COPYFILE *.DAT *.EXE *.COM *.BAT^
  3290.  
  3291. then %0 equals *.DAT^, %1 equals^
  3292. *.EXE^, %2 equals *.COM^, and %3^
  3293. equals *.BAT^.  After a SHIFT command
  3294. is issued, the list of parameters will
  3295. shift one to the left and, %0 will^
  3296. equal *.EXE^, %1 will equal *.COM^,
  3297. and  %2 will equal *.BAT^.
  3298.  
  3299. SORT
  3300. COMMAND NAME:^  SORT
  3301.  
  3302. DESCRIPTION:^   Reads data from a
  3303. device, sorts it and writes it.
  3304.  
  3305. COMMAND TYPE:^  External
  3306.  
  3307. VERSION:^   2.0 and up
  3308.  
  3309. USE:^  SORT [/R][/+n]
  3310.  
  3311. /R^ causes SORT to sort in reverse
  3312. order.  For example, Z comes before A
  3313. and 9 comes before 1.
  3314.  
  3315. /+n^ causes SORT to sort starting
  3316. with column n.
  3317.  
  3318. This command is usually used in
  3319. conjunction with a pipe ( | ) or
  3320. with file redirection ( < or > ).
  3321.  
  3322. EXAMPLE:  DIR | SORT /+10^
  3323.  
  3324. will read a directory, sort the
  3325. directory using column 10 (the filename
  3326. extension) to sort by, and then display
  3327. the directory.
  3328.  
  3329. EXAMPLE:^  SORT < UNSORTED > SORTED^
  3330.  
  3331. will read the file UNSORTED, sort it and
  3332. write the results to the file SORTED.
  3333.  
  3334. SUBST
  3335. COMMAND NAME:^  SUBST
  3336.  
  3337. DESCRIPTION:^   Allows you to refer to
  3338. a drive and path specifier with a
  3339. different name that you choose.
  3340.  
  3341. COMMAND TYPE:^  External
  3342.  
  3343. VERSION:^   3.1 and up
  3344.  
  3345. USE:^  SUBST d: d:path
  3346.  
  3347.     or^
  3348.  
  3349. SUBST d: /D
  3350.  
  3351.     or^
  3352.  
  3353. SUBST
  3354.  
  3355.  
  3356. d:^ specifies the drive letter that
  3357. you will use as a substitute for a
  3358. particular drive and path.
  3359.  
  3360. d:path^ specifies the drive letter and
  3361. path that you will refer to with a
  3362. nickname.
  3363.  
  3364. /D^ deletes a substitution.  You must
  3365. also specify the drive letter of the
  3366. drive whose substitution you want to
  3367. delete.
  3368.  
  3369. EXAMPLE:  SUBST J: C:\DOS^
  3370.  
  3371. will allow you to treat the directory
  3372. C:\DOS as a drive.  After executing this
  3373. SUBST command, DIR J: and DIR C:\DOS
  3374. would net identical results.
  3375.  
  3376. EXAMPLE:  SUBST J: /D^
  3377.  
  3378. will delete the substitution created in
  3379. the previous example.
  3380.  
  3381. SUBST entered with no parameters will
  3382. display all current substitutions.
  3383.  
  3384.  
  3385. NOTE:^  The first drive letter
  3386. specified (d:) cannot be the default
  3387. drive.
  3388.  
  3389. SYS
  3390. COMMAND NAME:^  SYS
  3391.  
  3392. DESCRIPTION:^   Transfers the operat-
  3393. ing system to another disk.
  3394.  
  3395. COMMAND TYPE:^  External
  3396.  
  3397. VERSION:^   2.0 and up
  3398.  
  3399. USE:^  SYS d:
  3400.  
  3401. d:^ specifies the drive that you wish
  3402. to transfer the system files to.
  3403.  
  3404. IBMBIO.COM^ and IBMDOS.COM^ are the
  3405. two invisible files that are copied by
  3406. the SYS command.
  3407.  
  3408. DOS expects IBMBIO.COM and IBMDOS.COM to
  3409. be the first two files in the directory.
  3410. If you get an error using the SYS
  3411. command it is probably because one or
  3412. both of the first two positions are
  3413. already occupied.
  3414.  
  3415. EXAMPLE:  SYS C:^
  3416.  
  3417. transfers the system files (IBMBIO.COM
  3418. and IBMDOS.COM) to drive C.
  3419.  
  3420. TIME
  3421. COMMAND NAME:^  TIME
  3422.  
  3423. DESCRIPTION:^   Displays and sets the
  3424. system time.
  3425.  
  3426. COMMAND TYPE:^  Internal
  3427.  
  3428. VERSION:^   2.0 and up
  3429.  
  3430. USE:^  TIME [hh:mm[:ss[.xx]]]
  3431.  
  3432. hh^ specifies the hours using military
  3433. time format (0 to 23).  
  3434.  
  3435. mm^ specifies minutes.  Numbers from 0
  3436. to 59 will be accepted for minutes.
  3437.  
  3438. ss^ specifies seconds.  Numbers from 0
  3439. to 59 will be accepted for seconds.
  3440.  
  3441. xx^ specifies hundredths of a second.
  3442. Numbers from 0 to 99 will be accepted
  3443. for hundredths of a second.
  3444.  
  3445. TIME entered with no parameters will
  3446. display the current time and give you
  3447. the option to either change the time or
  3448. leave it as it is.
  3449.  
  3450. EXAMPLE:  TIME 12:20:15.90^
  3451.  
  3452. sets the time for 12 hours, 20 minutes,
  3453. 15 seconds, and 90 hundredths of a
  3454. second.
  3455.  
  3456. TREE
  3457. COMMAND NAME:^  TREE
  3458.  
  3459. DESCRIPTION:^   Displays all director-
  3460. ies and subdirectories on a particular
  3461. diskette.  It can also list all files in
  3462. each directory and subdirectory.
  3463.  
  3464. COMMAND TYPE:^  External
  3465.  
  3466. VERSION:^   2.0 and up
  3467.  
  3468. USE:^  TREE [d:][/F]
  3469.  
  3470. d:^ is the drive whose directory paths
  3471. will be listed.
  3472.  
  3473. /F^ causes TREE to list the individual
  3474. files in each directory as well as the
  3475. paths.
  3476.  
  3477. EXAMPLE:  TREE C: /F^
  3478.  
  3479. displays the directory paths of drive C
  3480. and also lists all files in each
  3481. directory.
  3482.  
  3483. TYPE
  3484. COMMAND NAME:^  TYPE
  3485.  
  3486. DESCRIPTION:^   Lists the contents of
  3487. a file to the display.
  3488.  
  3489. COMMAND TYPE:^  Internal
  3490.  
  3491. VERSION:^   2.0 and up
  3492.  
  3493. USE:^  TYPE [d:][path]filename
  3494.  
  3495. d: path filename^ specifies the drive,
  3496. path, and filename of the file to be
  3497. TYPEd.
  3498.  
  3499. If the file that you TYPE is not
  3500. readable, it probably is not a text or
  3501. ASCII file.
  3502.  
  3503. EXAMPLE:  TYPE TEST.TXT^
  3504.  
  3505. displays the file TEST.TXT on the
  3506. screen.  By modifying the command to
  3507. TYPE TEST.TXT > PRN, the file will be
  3508. sent to the printer.
  3509.  
  3510. VDISK.SYS
  3511. COMMAND NAME:^  VDISK.SYS
  3512.  
  3513. DESCRIPTION:^   VDISK sets up a
  3514. virtual disk.  Virtual disks actually
  3515. make your computers memory act like a
  3516. disk drive.  As a result, a virtual disk
  3517. will be much faster than an actual disk
  3518. drive.
  3519.  
  3520. COMMAND TYPE:^  External
  3521.  
  3522. VERSION:^  3.0 and up
  3523.  
  3524. USE:^  DEVICE=VDISK.SYS[comment][bbb]
  3525.       [comment][sss][comment][ddd]
  3526.       [/E[:m]]
  3527.  
  3528. comment^ is a message containing
  3529. normal text characters.
  3530.  
  3531. bbb^ is the size of the virtual disk
  3532. in Kbytes.  Values between 1K and the
  3533. memory available in your machine will be
  3534. accepted.
  3535.  
  3536. sss^ is the sector size in bytes. 
  3537. 128, 256, and 512 are the sizes that
  3538. will be accepted.
  3539.  
  3540. A smaller sector size will utilize space
  3541. much better, but a larger sector will
  3542. improve performance.
  3543.  
  3544. ddd^ is the number of files that the
  3545. virtual disk can hold.  Values between 2
  3546. and 512 are accepted.
  3547.  
  3548. /E^ will force VDISK to use the
  3549. extended memory (memory above 1 
  3550. megabyte).
  3551.  
  3552. :m^ is the maximum number of sectors
  3553. of data that VDISK will transfer at a
  3554. time.  The possible numbers for :m are 1
  3555. through 8.
  3556.  
  3557. EXAMPLE: DEVICE=VDISK.SYS 200 256
  3558. 64^
  3559.  
  3560. sets up a virtual disk with 200K storage
  3561. space, 256 bytes per sector, and 64
  3562. directory entries.
  3563.  
  3564. NOTE:^  The VDISK.SYS device driver
  3565. must be placed in the CONFIG.SYS file
  3566. and be used in conjunction with the
  3567. DEVICE = DRIVER command. 
  3568.  
  3569. VER
  3570. COMMAND NAME:^  VER
  3571.  
  3572. DESCRIPTION:^   Displays the version
  3573. of DOS that you are currently using.
  3574.  
  3575. COMMAND TYPE:^  Internal
  3576.  
  3577. VERSION:^   2.0 and up
  3578.  
  3579. USE:^  VER
  3580.  
  3581. EXAMPLE:  VER^
  3582.  
  3583. displays the version of DOS that you are
  3584. currently using.
  3585.  
  3586. VERIFY
  3587. COMMAND NAME:^  VERIFY
  3588.  
  3589. DESCRIPTION:^   Turns VERIFY on or
  3590. off.  Verify ensures that data is
  3591. recorded correctly.
  3592.  
  3593. COMMAND TYPE:^  Internal
  3594.  
  3595. VERSION:^   2.0 and up
  3596.  
  3597. USE:^  VERIFY [ON|OFF]
  3598.  
  3599. ON | OFF^ will turn VERIFY ON or OFF.
  3600.  
  3601. When VERIFY is ON, DOS will check to see
  3602. if data written was written correctly. 
  3603.  
  3604.  
  3605. EXAMPLE:  VERIFY ON^
  3606.  
  3607. sets VERIFY to ON.
  3608.  
  3609. VERIFY entered with no parameters will
  3610. display the current setting of VERIFY.
  3611.  
  3612. VOL
  3613. COMMAND NAME:^  VOL
  3614.  
  3615. DESCRIPTION:^   Displays the VOLUME
  3616. LABEL of the specified diskette.
  3617.  
  3618. COMMAND TYPE:^  Internal
  3619.  
  3620. VERSION:^   2.0 and up
  3621.  
  3622. USE:^  VOL [d:]
  3623.  
  3624. d:^ is the drive whose VOLume label
  3625. will be displayed.
  3626.  
  3627. EXAMPLE:  VOL^
  3628.  
  3629. displays the VOLume label of the current
  3630. drive.
  3631.  
  3632. XCOPY
  3633. COMMAND NAME:^  XCOPY
  3634.  
  3635. DESCRIPTION:^   Copies groups of
  3636. files.  Subdirectories can be included.
  3637.  
  3638. COMMAND TYPE:^  External
  3639.  
  3640. VERSION:^   3.2 and up
  3641.  
  3642. USE:^  XCOPY [d:][path] filename
  3643.       [d:][path][filename] [/A][/D][/E]
  3644.       [/M][/P][/S][/V][/W]
  3645.  
  3646.   or^
  3647.  
  3648. XCOPY [d:] path [filename]
  3649. [d:][path] [filename] [/A][/D][/E]
  3650. [/M][/P][/S][/V][/W]
  3651.  
  3652.   or^
  3653.  
  3654. XCOPY d:[path] [filename] 
  3655. [d:][path][filename] [/A][/D][/E]
  3656. [/M][/P][/S][/V][/W]
  3657.  
  3658.  
  3659. The first d: path filename^
  3660. specifies the source drive, path, and
  3661. filename.
  3662.  
  3663. The second d: path filename^
  3664. specifies the destination drive, path,
  3665. and filename.
  3666.  
  3667. /A^ copies only those files that have
  3668. been modified since the last BACKUP /M
  3669. or XCOPY /M.
  3670.  
  3671. /D^ copies files whose date is equal
  3672. to or later than the date specified.  If
  3673. you wish to specify a date, the format
  3674. is /D:mm-dd-yy or whatever date format
  3675. you may have selected using the COUNTRY
  3676. or SELECT commands.
  3677.  
  3678. /E^ causes XCOPY to create sub-
  3679. directories on the destination drive as
  3680. it copies.
  3681.  
  3682. /M^ copies only those files that have
  3683. been modified since the last BACKUP /M
  3684. or XCOPY /M.  The /M option is identical
  3685. to the /A option except XCOPY /M will
  3686. reset the flags on those files that have
  3687. been modified since the last backup.
  3688.  
  3689. /P^ causes XCOPY to prompt you before
  3690. copying each file.
  3691.  
  3692. /S^ causes XCOPY to copy files in any
  3693. subdirectories below the directory that
  3694. XCOPY starts in.
  3695.  
  3696. /V^ causes XCOPY to VERIFY that the
  3697. data recorded was recorded correctly.
  3698.  
  3699. /W^ causes XCOPY to wait for you to
  3700. insert a disk before beginning.
  3701.  
  3702. EXAMPLE:  XCOPY C:\ D:\ /S^
  3703.  
  3704. will copy all files in all directories
  3705. from drive C: to drive D:.
  3706.  
  3707.